Ophir LOJKINE

Results 1257 comments of Ophir LOJKINE

Can you give an example of code that triggers this?

Yes, I think the only thing we can do here is follow marshmallow and update our documentation to ask people to use an explicit `metadata` key. PR welcome for the...

Yes sure ! Make sure you also update the github actions and [CONTRIBUTING.md](https://github.com/lovasoa/marshmallow_dataclass/blob/master/CONTRIBUTING.md) :)

Hello, Can you include the failing code sample triggering the *Enum name must be string* error ?

> I've got to the bottom of it - want me to start a pull request with documentation changes? If you can, that would be great ! The canonical way...

Yes, it does need to be a string ? If what you want is a set if TrafficLights, then just give it the type `Set[TrafficLights]`.

Yes, sorry, we don't support set, you'll have to use List.

> We have many Enums and in our case they should be serialized by value. This means that we have to add metadata={"by_value": True} to each field. It would be...

marshmallow_dataclass allows you to have simple classes, like : ```python class A: a: int class B: b: A marshmallow_dataclass.class_schema(B) ``` In order to create a schema for B, it also...