robertoestivill
05/05/2021, 11:32 AMrobertoestivill
05/05/2021, 11:32 AMrobertoestivill
05/05/2021, 11:32 AMclassDiscriminator
to conversation_type
or profile_type
and that will only result in one of the json strings being encoded/decoded correctly.
However, the json instance needs to be able to handle both discriminators.
Is there any way to accomplish this? Maybe per top hierarchy class annotation or dynamically ?Dominaezzz
05/05/2021, 11:47 AMJan Skrasek
05/05/2021, 11:58 AMrobertoestivill
05/05/2021, 12:01 PM