PUT nested resource allows for setting wrong fk. Bug?
Given the endpoint PUT /A/<x>/B with fk on B: B.Aid, it's allowed to set B.Aid to something else then x. This is a bug imho.
For ref: POST /A/<x>/B does correctly fix B.Aid to be x. Irregardless of what's defined in the POST body. This seems like the way to go.
@gebrits Do you still need this fix? Would you be able to submit a fix patch?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.