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

[FEATURE] V1 - Automatic serializer registration from module #457

Open
george-zubrienko opened this issue Jul 31, 2023 · 0 comments
Open
Labels
api/v1 enhancement New feature or request

Comments

@george-zubrienko
Copy link
Collaborator

george-zubrienko commented Jul 31, 2023

Description

One the huge advantages of v0 is implicit serializer injection via annotation or a subclass. Since we are changing to init/config file approach with .register(...) in v1, we should investigate options of automatic serializer discovery/compilation:

  • Via module import dataclasses_json.register(my_package.my_dataclass_module)
  • Via collection dataclasses_json.register([...])

... other ways?

Possible solution

No response

Alternatives

N/A

Context

No response

@george-zubrienko george-zubrienko added enhancement New feature or request api/v1 labels Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api/v1 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant