Guibod / mightstone

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

WOTC effictive field is deserialized as a string, not an Effectiveness instance #57

Closed Guibod closed 3 months ago

Guibod commented 3 months ago

To fix this we need to apply pydantic 2 guide for custom types: https://docs.pydantic.dev/2.0/usage/types/custom/#as-a-method-on-a-custom-type

But before that we need to upgrade both Beanie and pydantic, with everything that is implied.