You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The problem is how to share validation information as part of the schema.
What do I mean by validation?
mix_length or max_length on a string, or a regex pattern.
Describe the solution you'd like
dataclasses-avroschema es now able to add some metadata, my proposed solution is to also add the Field info from pydantic as part of the schema's metadata.
For example this schema, should include as part of the field's metadata also the min_length and pattern, etc:
Is your feature request related to a problem? Please describe.
The problem is how to share validation information as part of the schema.
What do I mean by validation?
mix_length or max_length on a string, or a regex pattern.
Describe the solution you'd like
dataclasses-avroschema es now able to add some metadata, my proposed solution is to also add the
Field
info from pydantic as part of the schema's metadata.For example this schema, should include as part of the field's metadata also the
min_length
andpattern
, etc:The text was updated successfully, but these errors were encountered: