Skip to content

Conversation

@valtzu
Copy link
Contributor

@valtzu valtzu commented Feb 8, 2026

Q A
Bug fix? no
New feature? yes
Docs? no
Issues Fix #1534
License MIT

Rearrange schema generation logic to allow extending it. I tried not to change any logic, the fact that FactoryTest is untouched and still passing should indicate it succeeded.

After this it will be possible to add optional ValidatorConstraintDescriber that amends the schema based on Symfony Validator metadata.


NOTE: does not include changes from #1557


I would really like if "normal" Serializer behavior worked here, e.g. getters and setters. If this support is planned, the proposed interface here would not work.

In general this probably needs some more work

@carsonbot carsonbot added Feature New feature Platform Issues & PRs about the AI Platform component Status: Needs Review labels Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature Platform Issues & PRs about the AI Platform component Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Platform] Make json schema generation extendable

2 participants