You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the last release, there is a RecursionError: maximum recursion depth exceeded during the serialisation of dataclasses using the Union decorator. The issue comes from the changes introduced in #77. Union is passed down through the MRO and creates an infinite recursion.
We should avoid yielding a Union. Possibly adding a inheritable attribute to ClassDecoratorSetting that identifies which decorators should be inherited. Then the previous line becomes something like: if isinstance(item, setting_type) and (klass is type_ or item.inheritable):.
Activity
Fix Union MRO inheritance causing RecursionError (#80)
Fix mypy error and add changelog entry
Fix Union MRO inheritance causing RecursionError (#81)