maykinmedia / open-klant

Registratiecomponent voor de opslag en ontsluiting van klantgegevens volgens de Klantinteracties API-specificatie.
Other
2 stars 3 forks source link

:recycle:[#261] change Onderwerpobject inline to use klantcontact #275

Closed Coperh closed 1 week ago

Coperh commented 2 weeks ago

Fixes #261

Coperh commented 2 weeks ago

I'd say the klantcontact relation is more correct since its a required field. Maybe keep was_klantcontact but make it read-only?

It does duplicate inline if both klantcontact and was_klantcontact are set to the same klantcontact.

Coperh commented 2 weeks ago

Also I do not think you cam filter on klantcontact on the onderwerpobject endpoint

stevenbal commented 2 weeks ago

@Coperh I think the change you made is correct. I don't think it will happen in practice that both klantcontact and was_klantcontact point to the same KlantContact instance