moonstream-to / web3

Moonstream game engine for blockchain games. Lootboxes, crafting, dropper, mini games that will enrich your game economy
20 stars 10 forks source link

Pydantic models should operate in ORM mode #277

Closed zomglings closed 1 year ago

zomglings commented 1 year ago

Currently, we have these two render functions:

Pydantic ORM mode should render these obsolete and clean up our codebase substantially: https://docs.pydantic.dev/usage/models/#orm-mode-aka-arbitrary-class-instances

kompotkot commented 1 year ago

Resolved with https://github.com/bugout-dev/engine/pull/302