Skip to content

Allow property() to be used without explicit validation schema #3735

@maximepvrt

Description

@maximepvrt

Currently, property() requires a schema as its first argument, but it would be much cleaner to allow setting metadata like {hidden: true} without having to manually re-declare the underlying Zod or Valibot validation.

linked to this old PR #3675

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions