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: make DidManagementApi more explicit #226

Conversation

paullatzelsperger
Copy link
Member

What this PR changes/adds

This PR removes generic endpoints from the DidManagementAPI, such as create, update or delete. Instead, they have been replaced with more focused endpoints for adding serviceEndpoint entries
to a DID document.

Why it does that

For the purposes of IdentityHub, the DID document is a fully managed piece of information, that is merely a representation of a particular participant. Thus,
manually modifying that document can cause inconsistencies.

Further notes

  • the DidDocumentService has been adapted too, to reflect those changes.

Linked Issue(s)

Closes #220

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

@paullatzelsperger paullatzelsperger added refactoring Changing directories, modules, structures, etc. without functional changes api breaking-change Will require manual intervention for version update labels Jan 17, 2024
Copy link
Contributor

@wolf4ood wolf4ood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@paullatzelsperger
Copy link
Member Author

will require #227

@paullatzelsperger paullatzelsperger force-pushed the feat/220_make_didmanagementapi_more_specific branch from 17a29c6 to b299860 Compare January 17, 2024 13:59
@paullatzelsperger paullatzelsperger merged commit c3636e5 into eclipse-edc:main Jan 17, 2024
11 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/220_make_didmanagementapi_more_specific branch January 17, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api breaking-change Will require manual intervention for version update refactoring Changing directories, modules, structures, etc. without functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make DidManagementApi more explicit
2 participants