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 unexpected operation ids in schema #79

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

SilviaAmAm
Copy link
Contributor

@SilviaAmAm SilviaAmAm commented Jan 10, 2024

@SilviaAmAm SilviaAmAm marked this pull request as draft January 10, 2024 17:14
In case that the schema of the service has another operation_id than 'zaaktypen_list', the list method gives a value error when trying to retrieve the URL path. With the operation method, we can just use the URL path directly.
@SilviaAmAm SilviaAmAm force-pushed the fix/handle_unexpected_operation_ids branch 2 times, most recently from e0355d9 to 180939e Compare January 10, 2024 17:20
@SilviaAmAm SilviaAmAm force-pushed the fix/handle_unexpected_operation_ids branch from 180939e to 250e7dc Compare January 10, 2024 17:24
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7de0c1e) 72.01% compared to head (250e7dc) 72.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
+ Coverage   72.01%   72.33%   +0.32%     
==========================================
  Files          39       39              
  Lines        1522     1522              
  Branches      216      216              
==========================================
+ Hits         1096     1101       +5     
+ Misses        359      354       -5     
  Partials       67       67              

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

@SilviaAmAm SilviaAmAm marked this pull request as ready for review January 10, 2024 17:28
@sergei-maertens sergei-maertens merged commit cd2e952 into main Jan 11, 2024
12 checks passed
@sergei-maertens sergei-maertens deleted the fix/handle_unexpected_operation_ids branch January 11, 2024 09:07
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.

The ZGW API configuration crashes when operation cannot be found
2 participants