Skip to content

Zaakobjecttype fixes#317

Open
CharString wants to merge 3 commits intomainfrom
zaakobjecttype-fixes
Open

Zaakobjecttype fixes#317
CharString wants to merge 3 commits intomainfrom
zaakobjecttype-fixes

Conversation

@CharString
Copy link
Contributor

@CharString CharString commented Oct 21, 2025

  • add missing options
  • remove read-only field

This doesn't touch the issues with the date fields.

Can be closed if #265 gets removed instead of fixed.

Feels off to serialise the same data twice…
It's a read-only attribute; and also the front-end tab has no good way for
showing an array of things.
@codecov-commenter
Copy link

codecov-commenter commented Oct 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.94%. Comparing base (35b15c8) to head (439d9a5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #317      +/-   ##
==========================================
+ Coverage   72.73%   72.94%   +0.20%     
==========================================
  Files         159      159              
  Lines        4919     4919              
  Branches      472      472              
==========================================
+ Hits         3578     3588      +10     
+ Misses       1303     1293      -10     
  Partials       38       38              
Flag Coverage Δ
backend 90.58% <100.00%> (ø)
jest 29.63% <ø> (+0.70%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

)
],
"_expand.eigenschappen.statustype": statustype_options,
# feels a bit off to send the exact same options twice...

Choose a reason for hiding this comment

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

Slowly we are going to build a whole formio replacement with references and all 😄

],
"_expand.eigenschappen.statustype": statustype_options,
# feels a bit off to send the exact same options twice...
"_expand.zaakobjecttypen.statustype": statustype_options,

Choose a reason for hiding this comment

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

Should we expose the statustype dropdown since we don't have a way to manage (create/edit/delete) the statustypen?


for (const field of fields) {
const fieldName = field.name.split(".").pop() as keyof TargetType;
// This downcast is not true! And it muddies the handling of
Copy link
Collaborator

@svenvandescheur svenvandescheur Oct 24, 2025

Choose a reason for hiding this comment

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

Correct, I think the downcast is necessary but should be keyof RelatedObject<TargetType>

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.

4 participants