Open TimoGlastra opened 3 years ago
Example from the proposal (we definitely don't want to use this, but to get the conversation started)
@TimoGlastra Do you mean that we don't want to use exactly this or that we want to use something different? I kind of assumed that we maybe won't use exactly this but something like that :)
I mean't we don't want to use exactly this :)
This is just something we threw together really quickly for the proposal (and is largely based on the current implementation). I just don't want to take it as a starting point, preventing better or simpler API designs.
We've already made a start in #20 and #37
Regarding my other ideas I have related to API:
agent.holder.acceptCredential
, or, with module agent.holder.credentials.acceptCredential
. This idea is based on the idea of feature-driven API rather than domain-driven API.I also wanted to add links to other project I think can be good source of inspiration:
Context
We want the SDK to be as easy as possible to use. This means also taking a good look at the current API of AFJ and see if we can make improvements. Especially the addition of all new protocols requires taking a good look at the API.
Example from the proposal (we definitely don't want to use this, but to get the conversation started)
TODO