animo / aries-mobile-sdk

Apache License 2.0
8 stars 2 forks source link

Design the public API of the Aries Mobile SDK #25

Open TimoGlastra opened 3 years ago

TimoGlastra commented 3 years ago

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) image

TODO

jakubkoci commented 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 :)

TimoGlastra commented 3 years ago

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

jakubkoci commented 3 years ago

Regarding my other ideas I have related to API:

I also wanted to add links to other project I think can be good source of inspiration: