Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle null values #593

Open
DanielHabenicht opened this issue Apr 7, 2020 · 1 comment
Open

Handle null values #593

DanielHabenicht opened this issue Apr 7, 2020 · 1 comment
Labels
prio-4 Priority 4 qualified Issue is specified and should be solvable.

Comments

@DanielHabenicht
Copy link
Collaborator

At the moment the data model (in models.ts) has a perfect model with near-zero null properties.

But as we discovered while building the backend, these values can be null.

As a quick fix @paule96 implemented returning empty strings, but that's not really pretty.

This issue can be resolved if all values that are nullable are also nullable in the data model of the frontend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio-4 Priority 4 qualified Issue is specified and should be solvable.
Projects
None yet
Development

No branches or pull requests

2 participants