Open AhmedLSayed9 opened 4 months ago
Is there a way to avoid adding __type for the nested objects?
__type
i.e I'm doing the following:
SomeMapper.ensureInitialized() .encodeJson(this, EncodingOptions(includeTypeId: false));
SomeMapper has nested objects which themselves should add the __type property in normal cases. However, I want to prevent SomeMapper and all nested objects from adding __type
Yes that should actually disable the __type property for all nested types. Could be a bug, I will look into it.
Is there a way to avoid adding
__type
for the nested objects?i.e I'm doing the following:
SomeMapper has nested objects which themselves should add the
__type
property in normal cases. However, I want to prevent SomeMapper and all nested objects from adding__type