Skip to content

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