-
Notifications
You must be signed in to change notification settings - Fork 26
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
Implement Objects API sets #4343
Conversation
Mostly taken from #3146
Some checks are removed, as they will be added in the options serializer instead.
…ersions fetching They now take a new query parameter, specifiying the group to use. Tests are updated.
It is assumed that the ZGW registration will use the default Objects API. This is currently not configurable, but will be in the future.
It now takes a new `objects_api_group` parameter, similar to zgw. `registration_backend` is now made required, as it doesn't really make sense to have it optional. The endpoint also raises a 400 if the query parameters are invalid. Tests were adapted/refactored.
b63f616
to
63df7c4
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4343 +/- ##
=======================================
Coverage 96.49% 96.49%
=======================================
Files 719 719
Lines 23689 23733 +44
Branches 2799 2808 +9
=======================================
+ Hits 22858 22902 +44
- Misses 562 563 +1
+ Partials 269 268 -1 ☔ View full report in Codecov by Sentry. |
7fd5e66
to
6f19b27
Compare
abaec1f
to
511013f
Compare
I haven't implemented anything specific regarding the objects api group select (i.e. auto select the first one if there's only one group available). This would require the dropdown select to allow blank which shouldn't really be the case |
b16860d
to
9a244d8
Compare
c13808f
to
e8d74ec
Compare
...penforms/js/components/admin/form_design/registrations/objectsapi/ObjectTypeVersionSelect.js
Outdated
Show resolved
Hide resolved
...components/admin/form_design/registrations/objectsapi/ObjectsApiOptionsFormFields.stories.js
Outdated
Show resolved
Hide resolved
src/openforms/js/components/admin/form_design/registrations/objectsapi/utils.js
Show resolved
Hide resolved
src/openforms/registrations/contrib/objects_api/tests/test_template.py
Outdated
Show resolved
Hide resolved
f35b750
to
35aa719
Compare
35aa719
to
4e2374e
Compare
Partly closes #4267, replaces #4332
Changes
[Describe the changes here]
Checklist
Check off the items that are completed or not relevant.
Impact on features
Release management
I have updated the translations assets (you do NOT need to provide translations)
./bin/makemessages_js.sh.sh
./bin/compilemessages_js.sh
Commit hygiene