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

refactor(policy): narrow ScopeExtractor policy context type bounds #4570

Merged

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Oct 21, 2024

What this PR changes/adds

Binds ScopeExtractor to RequestPolicyContext because it's the actual upper type that's passed to it.

Why it does that

simplify implementation from adopters point of view

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes #4569

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

@ndr-brt ndr-brt added refactoring Cleaning up code and dependencies policy labels Oct 21, 2024
@ndr-brt ndr-brt force-pushed the 4569-improve-scope-extractor-bounds branch from c1e7b31 to be216df Compare October 21, 2024 12:57
@ndr-brt ndr-brt merged commit d04ee6e into eclipse-edc:main Oct 21, 2024
21 checks passed
@ndr-brt ndr-brt deleted the 4569-improve-scope-extractor-bounds branch October 21, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
policy refactoring Cleaning up code and dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve type bounds for ScopeExtractor
2 participants