Skip to content

#627 Remove readOnly properties from request instead of throwing Bad Request errors#753

Closed
pilerou wants to merge 1 commit intocdimascio:masterfrom
pilerou:readOnlyPropertiesRemoval
Closed

#627 Remove readOnly properties from request instead of throwing Bad Request errors#753
pilerou wants to merge 1 commit intocdimascio:masterfrom
pilerou:readOnlyPropertiesRemoval

Conversation

@pilerou
Copy link
Copy Markdown
Contributor

@pilerou pilerou commented Aug 23, 2022

As discussed in #627 issue, whe should remove readonly data from request on validation.
Therefore, routes will receive a modified request wihtout readonly proprerties.

In this pull request :

  • AJV integration for readonly fields has been changed. In the same time,
  • Unit tests has been modified according to the new mescanism

@pilerou pilerou closed this Jan 30, 2024
@pilerou
Copy link
Copy Markdown
Contributor Author

pilerou commented Jan 30, 2024

I close this PR as a new one had been created #895

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.

1 participant