-
Notifications
You must be signed in to change notification settings - Fork 155
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 Request: User Generics decoders #305
Comments
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Jul 23, 2021
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Jul 23, 2021
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Jul 23, 2021
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Jul 23, 2021
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Sep 29, 2021
…ed generic classes
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Sep 29, 2021
… to be decoded from None
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Sep 29, 2021
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Sep 29, 2021
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Sep 29, 2021
USSX-Hares
added a commit
to USSX-Hares/dataclasses-json
that referenced
this issue
Sep 29, 2021
Should be possible in proposed v1 API: #442 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I would like to ask to add extended support for user-defined generics.
This means that the class should define its custom decoder and encoder which then accepts its data, generic types, field encoder/decoder (
_asdict
/_decode_dataclass
) and**kwargs
(likeinfer_missing
).See
DecodableGenericABC
in the example below.Example Usage
Something like that
The text was updated successfully, but these errors were encountered: