verida / verida-one-webapp

Verida One is a public, decentralized platform that allows you to showcase who you are across Web2 and Web3, online and IRL
https://www.verida.one
ISC License
6 stars 3 forks source link

Feature/107 Filter invalid data fetched from API #176

Closed aurelticot closed 1 year ago

aurelticot commented 1 year ago

When the application fetches data externally, the data is validated against a given schema.

When there was one single mistake in the data (for instance in one item in an array), the whole data thrown out and not used.

Now, arrays are validated item by item and invalid ones are filtered out, so that we can still use the valid ones.

aws-amplify-us-east-2[bot] commented 1 year ago

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-176.d29a9kk5kl8bp0.amplifyapp.com