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

[#920] Modified OpenZaak dataclasses to use Optional[] with a default for eSuite fields #361

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Bartvaderkin
Copy link
Contributor

@Bartvaderkin Bartvaderkin commented Dec 6, 2022

For review and discussion.

Main problem is without spec-defined default values we can only set None or empty-strings. I feel this is not great for booleans. Also for correctness we might want to use empty lists and dicts instead of None.

@Bartvaderkin Bartvaderkin added the discussion Marked for discussion label Dec 7, 2022
@alextreme
Copy link
Member

@joeribekker we hebben hier een reeks dataclasses voor compatibiliteit met eSuite ZGW APIs. Graag je oordeel of het ontbreken van default-waarden in de responses door e-Suite (wel /niet teruggeven null-attributen in de ZGW APIs) wel of niet conform de spec is.Als dit wel conform de spec is dan wil ik graag zgw-consumers hiermee beter maken, anders blijft het OIP-specifiek.

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

Successfully merging this pull request may close these issues.

2 participants