Guibod / mightstone

A python library to handle all sort of Magic The Gathering related stuffs
MIT License
0 stars 0 forks source link

Make every document available as serializable (beanie instance) from non-serializable (pure pydantic instance) #72

Closed Guibod closed 4 months ago

Guibod commented 4 months ago

Summary

Most usage of mighstone will not use the beanie backend, as such it would be great to provide every instances of MightstoneDocument as a serializable version, or not.

It would be great to add adapter to go from one type to another.