Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

[tk:backend] Test metadata validation retro compatibility #829

Open
ascariandrea opened this issue Dec 1, 2022 · 0 comments
Open

[tk:backend] Test metadata validation retro compatibility #829

ascariandrea opened this issue Dec 1, 2022 · 0 comments

Comments

@ascariandrea
Copy link
Collaborator

To be sure the validation of metadata output is compatible with old versions of our metadata we need to dump some data from production DB and test it locally.
When we're sure we've covered all the possible cases we can release it (again).

Proposed Solution

Use the implementation of walkPaginatedRequest to walk all the metadata results returned by the api and add a decode step to identify which item is not valid.
In this phase we shouldn't fix issues on the parser side, but only changing how the object is patched in metadata.io.ts

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant