Skip to content

fix (schemas): move query validation to schema#105

Open
egabancho wants to merge 1 commit intoinveniosoftware:masterfrom
egabancho:schemas
Open

fix (schemas): move query validation to schema#105
egabancho wants to merge 1 commit intoinveniosoftware:masterfrom
egabancho:schemas

Conversation

@egabancho
Copy link
Member

  • Enhances schema validation adding title and slug validators.

* Enhances schema validation adding title and slug validators.

slug = fields.Str()
title = fields.Str()
slug = SanitizedUnicode(
Copy link
Member Author

@egabancho egabancho Nov 7, 2025

Choose a reason for hiding this comment

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

Some of these fields should be required, like slug, but that would be a breaking change (more than adding these validations) and require a different schema for update operations (example).
I am open to suggestions 😇

@egabancho egabancho added this to vNext Nov 7, 2025
@egabancho egabancho moved this to 👀 In review in vNext Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

1 participant