Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add msgspec struct mechanism based validation to arguments of action #29

Open
3 tasks
VigneshVSV opened this issue Aug 1, 2024 · 0 comments
Open
3 tasks
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@VigneshVSV
Copy link
Owner

VigneshVSV commented Aug 1, 2024

msgspec offer a struct mechanism which looks like dataclasses, which can also generate JSON schema.

For avid users of msgspec, this may be beneficial that they write their validation in msgspec structures.

Possible steps

  • define interface (i.e. a base class like BaseSchemaValidator) for msgspec based validation which is similar to JSON schema validation
  • ensure it is respected by EventLoop for validation
  • update docs and examples
@VigneshVSV VigneshVSV added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant