interledger / rafiki

An open-source, comprehensive Interledger service for wallet providers, enabling them to provide Interledger functionality to their users.
https://rafiki.dev/
Apache License 2.0
226 stars 77 forks source link

fix: put additional properties resolver under wallet address #2767

Closed BlairCurrey closed 2 weeks ago

BlairCurrey commented 3 weeks ago

Moves the additionalProperties resolver under the WalletAddress resolver. This allows us to query this field on wallet address as opposed to calling it separately with the wallet address id, but keeps the fetching outside of the wallet address resolver/service method itself. This means we can specify it anywhere the wallet address is returned (the get wallet address query, create wallet address mutation, etc.)

See test and bruno collection changes to see how its called.

To be merged into https://github.com/interledger/rafiki/pull/2752