Current handling allows for dataclasses and BaseModels annotated with @uses_tagged_union to be deserialised using the Pydantic TypeAdapter that knows about the Spec/Region discriminated union.
However, the routes into the Service are not currently updated when their usage of Spec as return or input type is updated by registering a new subclass.
Current handling allows for dataclasses and BaseModels annotated with @uses_tagged_union to be deserialised using the Pydantic TypeAdapter that knows about the Spec/Region discriminated union.
However, the routes into the Service are not currently updated when their usage of Spec as return or input type is updated by registering a new subclass.