-
Notifications
You must be signed in to change notification settings - Fork 135
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
[proposal] Matching identifiers by alias should not depend on the provider #1215
Labels
Comments
mirceanis
added a commit
that referenced
this issue
Aug 4, 2023
…ovider fixes #1215 BREAKING CHANGE: The behavior of `DIDManager` has changed when working with `alias`. It is mostly ignoring `provider` unless it is used to create new identifiers. `AbstractDIDStore` APIs have been adapted and implementations have changed.
mirceanis
added a commit
that referenced
this issue
Aug 4, 2023
…ovider fixes #1215 BREAKING CHANGE: The behavior of `DIDManager` has changed when working with `alias`. It is mostly ignoring `provider` unless it is used to create new identifiers. `AbstractDIDStore` APIs have been adapted and implementations have changed.
5 tasks
mirceanis
added a commit
that referenced
this issue
Aug 4, 2023
…ovider fixes #1215 BREAKING CHANGE: The behavior of `DIDManager` has changed when working with `alias`. It is mostly ignoring `provider` unless it is used to create new identifiers. `AbstractDIDStore` APIs have been adapted and implementations have changed.
mirceanis
added a commit
that referenced
this issue
Aug 4, 2023
…ovider fixes #1215 BREAKING CHANGE: The behavior of `DIDManager` has changed when working with `alias`. It is mostly ignoring `provider` unless it is used to create new identifiers. `AbstractDIDStore` APIs have been adapted and implementations have changed.
mirceanis
added a commit
that referenced
this issue
Aug 15, 2023
…ovider fixes #1215 BREAKING CHANGE: The behavior of `DIDManager` has changed when working with `alias`. It is mostly ignoring `provider` unless it is used to create new identifiers. `AbstractDIDStore` APIs have been adapted and implementations have changed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
There are a few methods that use or can use a combination of
alias
andprovider
when filtering DIDs:didManagerGet
didManagerGetOrCreate
didManagerGetByAlias
AbstractDIDStore.getDID
The assumptions that lead to this design no longer hold true and
alias
should behave uniformly, no matter theprovider
used.Describe the solution you'd like
These methods should not require a
provider
when querying.didManagerCreate
anddidManagerImport
using an alias that already exists should fail, no matter theprovider
used.didManagerGetOrCreate
using analias
should fail if the requestedprovider
is different than the provider of an existing identifier matching the alias.Additional context
The changes would also involve
@veramo/data-store
and@veramo/data-store-json
This would be a BREAKING CHANGE, since the interface definitions would be different at least for the DID stores and the behavior of some the DIDManager methods as well.
The text was updated successfully, but these errors were encountered: