Skip to content

Fix writeOnly behaviour#14

Merged
maxlapshin merged 2 commits intoflussonic:masterfrom
stolen:fix-writeOnly-behaviour
Sep 1, 2025
Merged

Fix writeOnly behaviour#14
maxlapshin merged 2 commits intoflussonic:masterfrom
stolen:fix-writeOnly-behaviour

Conversation

@stolen
Copy link
Copy Markdown
Contributor

@stolen stolen commented Sep 1, 2025

JSON Schema says:

writeOnly indicates that a value may be set, but will remain hidden. In could be used to indicate you can set a value with a PUT request, but it would not be included when retrieving that record with a GET request.

Here I implement writeOnly property filtering on read access, to complement readOnly filtering on write

This changes 'read' access behaviour, so a new access_type is introduce to disable any read/write filtering -- access_type => raw

Additionally, I add a fixture I forgot to add in previous PR #13

@stolen stolen changed the title Fix write only behaviour Fix writeOnly behaviour Sep 1, 2025
@maxlapshin maxlapshin merged commit 88af1db into flussonic:master Sep 1, 2025
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.

2 participants