Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor out static methods for Spring Data repository completions #983

Closed

Conversation

danthe1st
Copy link
Contributor

@danthe1st danthe1st commented Feb 24, 2023

This PR factors out Spring Data repository completions into multiple classes as suggested in #981 (comment).

Instances of these classes are stored in a List which is instantiated in the constructor of DataRepositoryCompletionProcessor.

For now, I have not used Spring Beans for this as it seems that only the package org.springframework.ide.vscode.boot.app is scanned for components.

Alternatively, corresponding Spring beans could be defined in BootJavaCompletionEngineConfigurer or similar.

This PR should not change any functionality.

@BoykoAlex
Copy link
Contributor

Merged with 64fabdf
(I've removed rogue @Component and squashed the change into the same original commit from this PR)

@BoykoAlex BoykoAlex closed this Feb 28, 2023
@martinlippert martinlippert added this to the 4.18.0.RELEASE milestone Feb 28, 2023
@danthe1st danthe1st deleted the split-data-proposals branch March 1, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants