Skip to content

Add DataClassBridge to stitch data classes with JSON Models#29

Draft
sedwards2009 wants to merge 1 commit intomasterfrom
dataclasses
Draft

Add DataClassBridge to stitch data classes with JSON Models#29
sedwards2009 wants to merge 1 commit intomasterfrom
dataclasses

Conversation

@sedwards2009
Copy link
Copy Markdown

This adds a DataClassBridge base class which when used on Python data classes makes them compatible with JSON models. Since these are data classes, static analysis tools like Mypy and checkers running inside your IDE can understand them and type check them. No extra configuration or plugins are needed for these checkers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant