Reflection support in AddFromObject() for type-safe passing of child objects, even if they are NULL at runtime

Dear Combit Team
Dear Community

The following problem:
I add a variable via AddFromObject(), which contains one or more nested sub-object(s). In the designer I then add a field of such a sub-object, but this field can be NULL for another record.

Now when printing and this sub-object is actually NULL at runtime, you get an error message, even if you used Nullsafe(), This happens because not only the data, but also the information about the hierarchy is then completely missing.

Nice would be:
Objects added by AddFromObject() are parsed by reflection as with the ObjectDataProvider.
This way all nested objects and their properties could be accessed directly in a type-safe way.

Many thanks and greetings
Michael

© combit GmbH