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

fix: use factory method to create policy eval functions #363

Conversation

paullatzelsperger
Copy link
Member

  • use ParticipantAgentPolicyContext
  • use single factory method

What this PR changes/adds

use static factory methods to instantiate policy evaluation functions.

Why it does that

with the advent of the ParticipantAgentPolicyContext this became possible to simplify things

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 # <-- insert Issue number if one exists

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

@paullatzelsperger paullatzelsperger added the enhancement New feature or request label Oct 21, 2024
@paullatzelsperger paullatzelsperger force-pushed the fix/use_participantagentcontext branch from edbf9d8 to 5c4dc69 Compare October 21, 2024 16:08
@paullatzelsperger paullatzelsperger force-pushed the fix/use_participantagentcontext branch from 5c4dc69 to 2bfabfb Compare October 22, 2024 05:20
@paullatzelsperger paullatzelsperger merged commit 5a4660a into eclipse-edc:main Oct 22, 2024
7 checks passed
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.

1 participant