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

✨ [#132] added api validation to check if nummeraanduiding_i… #133

Closed

Conversation

bart-maykin
Copy link
Contributor

…d is given when gegevens groep is filled in

fixes #132

added validation to gegevengroepen to see if nummeraanduiding_id must be required or not.

@bart-maykin bart-maykin force-pushed the feature/132-nummeraanduiding-id-conditional branch from cc4d645 to e46ee53 Compare January 11, 2024 11:00
Copy link
Member

@joeribekker joeribekker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bart-maykin waar komt dit issue vandaan?

Copy link
Member

@joeribekker joeribekker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking as request changes to make it clear to something is up :)

@bart-maykin
Copy link
Contributor Author

@bart-maykin waar komt dit issue vandaan?

In het gegevenswoordenboek is het ID veld gemarkeerd als required. En omdat dit in een gegevens groep zit, is het logisch dat dit alleen het geval is als de gegevens groep ingevuld is. Maar de functionaliteit miste we nog dus daarom had ik deze issue aangemaakt.

Screenshot from 2024-01-17 13-03-02

@bart-maykin bart-maykin force-pushed the feature/132-nummeraanduiding-id-conditional branch 2 times, most recently from e7f2236 to a27774c Compare January 17, 2024 14:50
@bart-maykin bart-maykin force-pushed the feature/132-nummeraanduiding-id-conditional branch from a27774c to adfd430 Compare January 24, 2024 15:59
@codecov-commenter
Copy link

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (d3eaa62) 96.67% compared to head (adfd430) 96.88%.
Report is 4 commits behind head on master.

Files Patch % Lines
...lant/components/contactgegevens/api/serializers.py 80.00% 2 Missing ⚠️
...klantinteracties/api/serializers/klantcontacten.py 81.81% 2 Missing ⚠️
...nents/klantinteracties/api/serializers/partijen.py 81.81% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
+ Coverage   96.67%   96.88%   +0.21%     
==========================================
  Files         180      178       -2     
  Lines        7364     7416      +52     
==========================================
+ Hits         7119     7185      +66     
+ Misses        245      231      -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joeribekker
Copy link
Member

Zie ticket waarom gesloten.

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

Successfully merging this pull request may close these issues.

Maak nummeraanduiding_id velden verplicht als de gegevens groep is ingevuld.
3 participants