Skip to content

Explain how to customize a serializer#1976

Merged
davisagli merged 4 commits intomainfrom
1975-customize-content-types-serialization
Feb 20, 2026
Merged

Explain how to customize a serializer#1976
davisagli merged 4 commits intomainfrom
1975-customize-content-types-serialization

Conversation

@gforcada
Copy link
Member

@gforcada gforcada commented Feb 2, 2026

Part of #1975

  • I signed and returned the Plone Contributor Agreement, and received and accepted an invitation to join a team in the Plone GitHub organization.
  • I verified there aren't any other open pull requests for the same change.
  • I followed the guidelines in Contributing to Plone.
  • I successfully ran code quality checks on my changes locally.
  • I successfully ran tests on my changes locally.
  • If needed, I added new tests for my changes.
  • If needed, I added documentation for my changes.
  • I included a change log entry in my commits.

If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.

Closes #


📚 Documentation preview 📚: https://plonerestapi--1976.org.readthedocs.build/

@mister-roboto
Copy link

@gforcada thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gforcada Looks okay, but please see my comment #1975 (comment), and it needs a changelog

@stevepiercy do you want to edit anything?

@gforcada gforcada force-pushed the 1975-customize-content-types-serialization branch from 89bc675 to 710dcd6 Compare February 4, 2026 06:55
@gforcada
Copy link
Member Author

gforcada commented Feb 4, 2026

@davisagli thanks for the review. I added the deserialization part, with a warning on the serialization about it. Also added the changelog entry :)

@davisagli davisagli requested a review from stevepiercy February 4, 2026 06:57
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From reading this page, I have no clue where to place the XML or the Python code. Would someone please add that information?

Also are there any missing steps? Assume that the reader doesn't have decades of experience with Plone.

davisagli and others added 2 commits February 19, 2026 22:10
@davisagli davisagli merged commit 2ed6c70 into main Feb 20, 2026
15 of 17 checks passed
@davisagli davisagli deleted the 1975-customize-content-types-serialization branch February 20, 2026 06:15
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.

4 participants