Open MiniSuperDev opened 1 year ago
Hi @MiniSuperDev
Could you clarify the usecase for unions
in describing form models?
Hi @vasilich6107 At the moment I have a notion type app, in which blocks of different types can be created. In this case each type of block is a union class.
@vasilich6107 In freezed for example to make json_serializable works with union, each union class should have its own annotations
Hey @MiniSuperDev I probably realized the source of issue Will try to fix some day
Hello,, when use freezed it generate only private classes and also expect other type in the model, for example instead of
Union1
it expect_$Union1
Thank you