-
-
Couldn't load subscription status.
- Fork 643
Description
Current behavior
When we deserialize a data structure containing a nested data structure by using the load method, the unknown parameter is without effect on the nested data structure and a error is raised if an unknown field is present into the nested data structure
Expected behavior:
unknown parameter into load method is propagated to the the load of all nested data structure.
Functional context:
when processing a REST call in a server, it is often useful to be able to ignore unknown fields in the json provided during the deserialization process. This does not mean that we want these fields to be ignored in all contexts. The use of the unknown parameter of the load method allows this use case. Unfortunately, it does not apply to the nested field.