Change all All<aggregate-type>View
formats from HashMap
to Vec
#124
Labels
BREAKING CHANGE
A change to the API that requires a major release.
Enhancement
New feature or improvement to an existing feature
Description
For example this struct:
Needs to be re-written to something like (pseudo-code):
To find all structs that need to be adjusted search for this code snippet (there should be 4):
Important is that for each Vector item type, there needs to be a
..._id
field present. For example in the example above, the ID field needs to be added toReceivedOfferView
. In turn, this means that there needs to be an ID field added toOffer
as well.The end goal is that for all endpoints (there should be 4) that return All Credentials/Offers, the response type must change from an object
{}
to a list[]
where all items in the list contain an ID field.Motivation
Better API Response types.
Resources
n/a
To-do List
The text was updated successfully, but these errors were encountered: