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

Consider replacing Marshmallow with Pydantic for REST models #76

Open
FedericoNegri opened this issue Oct 20, 2022 · 0 comments
Open

Consider replacing Marshmallow with Pydantic for REST models #76

FedericoNegri opened this issue Oct 20, 2022 · 0 comments
Labels
enhancement New features or code improvements

Comments

@FedericoNegri
Copy link
Contributor

Reasons:

  • marshmallow requires splitting models into schemas and actual resources
  • pydantic has an interesting code generator we could use to auto-generate (some of the) models from the openapi spec
  • pydantic has native support for typehints

Possible critical points:

@FedericoNegri FedericoNegri added the enhancement New features or code improvements label Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

No branches or pull requests

1 participant