twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
15.78k stars 1.73k forks source link

API should not accept null value for non-nullable fields #5978

Open thomtrp opened 2 months ago

thomtrp commented 2 months ago

Graphql API does not distinguish null value from undefined. This is currently still possible to send null value to non-nullable field. Which throws a 500.