Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support for missing_value and default story #1283

Merged
merged 7 commits into from
Nov 30, 2021

Conversation

sneridagh
Copy link
Member

@sneridagh sneridagh commented Nov 28, 2021

See #1282 .

Could be a conflictive piece of code, so please triple check this. Tricky thing here is that I guess that missing_value is a zc3.form/Classic UI thing, and we are transferring those responsibilities to the RESTAPI code here. One could argue that the frontend should take care of that instead than the API.

@mister-roboto
Copy link

@sneridagh thanks for creating this Pull Request and help improve Plone!

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass.

Whenever you feel that the pull request is ready to be tested, either start all jenkins jobs pull requests by yourself, or simply add a comment in this pull request stating:

@jenkins-plone-org please run jobs

With this simple comment all the jobs will be started automatically.

Happy hacking!

@sneridagh
Copy link
Member Author

@jenkins-plone-org please run jobs

@jensens
Copy link
Member

jensens commented Nov 29, 2021

missing_value is a zope.schema thing and not z3c.form related:
https://zopeschema.readthedocs.io/en/latest/api.html#zope.schema.interfaces.IField.missing_value

Co-authored-by: Jens W. Klein <jk@kleinundpartner.at>
@sneridagh
Copy link
Member Author

@jenkins-plone-org please run jobs

@sneridagh
Copy link
Member Author

@jenkins-plone-org please run jobs

@tisto tisto merged commit 389d237 into master Nov 30, 2021
@tisto tisto deleted the improvesupportformissingvaluedefaultstory branch November 30, 2021 13:35
tisto added a commit that referenced this pull request Dec 3, 2021
tisto added a commit that referenced this pull request Dec 3, 2021
* Revert "Improve support for `missing_value` and `default` story (#1283)"

This reverts commit 389d237.

* Add changelog entry
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.

Improve support and meaning for default and missing_value in serializers/deserializers
5 participants