atviriduomenys / spinta

Spinta is a framework to describe, extract and publish data (a DEP Framework).
MIT License
10 stars 4 forks source link

Check enum value on write #676

Open sirex opened 2 days ago

sirex commented 2 days ago

It looks, that currently Spinta checks enum values on read, but that should not be doen. Enum values should be checked on write.

Disable current checks on read and add checks on write.

This might cause a lot of issues, with existing integrations, so before releasing this, we also need to check Saugykla, if there are any incorrect enum values, contact all data providers, fix data, and only then, when all enum values are correct, release enum value checks on write.

Related