Skip to content

Allow arbitrary custom keys with S.meta #149

Description

@king-smith

S.meta currently only supports name, title, description, deprecated & examples. I need to attach custom metadata (notably x-* keywords per JSON Schema custom annotations) and can’t express this in Sury, where I can in a few other libraries (Zod, ArkType, Valibot).

For now I can merge the annotations afterwards without too much hassle, but it’d be great to be able to define them directly with S.meta.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions