Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

refactor: hydrate wallets to respect the data structure contract #975

Merged
merged 6 commits into from Oct 12, 2020

Conversation

faustbrian
Copy link
Contributor

Instead of adjusting the whole explorer to the new data structures, it makes more sense to use a DTO-ish approach by normalizing the data before it leaves the service. This will keep the explorer functional without any major changes because we can return wallet objects that match the previous format.

@ghost ghost added Complexity: Medium Less than 256 lines changed. Type: Refactor The pull request improves or enhances an existing implementation. labels Oct 8, 2020
@faustbrian faustbrian force-pushed the hydratev3 branch 2 times, most recently from edc9ae0 to 6fe087a Compare October 8, 2020 02:13
@ItsANameToo
Copy link
Contributor

tests are rekt

@ItsANameToo ItsANameToo merged commit 7119da2 into feat/v3 Oct 12, 2020
@ghost ghost deleted the hydratev3 branch October 12, 2020 07:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Complexity: Medium Less than 256 lines changed. Type: Refactor The pull request improves or enhances an existing implementation.
Projects
None yet
2 participants