Open joshday opened 1 year ago
Patch coverage: 34.78%
and project coverage change: -1.97%
:warning:
Comparison is base (
9cca137
) 75.31% compared to head (6e1b9f4
) 73.34%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The goal here is to remove a lot of the boilerplate necessary for dealing with abstract types:
Under the hood:
__type__
key is added to the serialized JSON (configurable via@auto MyType mysubtypekey
.eval
to get the deserialized type from the__type__
. I examine theMeta.parse
-edExpr
to order to determine whether it's safe toeval
. I typically don't mess witheval
, so I may have missed something that makes this unsafe.