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

feat: improve handling of default values for ValueInjectionPoints #4620

Conversation

paullatzelsperger
Copy link
Member

What this PR changes/adds

this PR improves the handling of default values for ValueInjectionPoints.

Specifically, the ValueInjectionPoint now has a default ValueProvider, which reads the default value from the annotation attribute.

Why it does that

re-use existing infrastructure

Further notes

the ServiceProvider class now implements the ValueProvider interface and is a specific variant for ServiceInjectionPoints

Linked Issue(s)

Contributes to #4610

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger merged commit cfc8e6f into eclipse-edc:main Nov 13, 2024
21 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/improve_injection_default_values branch November 13, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants