related to #29348
even when the json for the collection is set to [] we still materialize it as null. This is because in IncludeJsonEntityCollection we only run fixup code if there is entity in the collection to be fixed up to the parent. And the problem is that the fixup is what generates the collection instance. We should probably have a separate call to generate the collection (when the JSON for it is not null) and run the element fixup independently of the collection creation.
related to #29348
even when the json for the collection is set to
[]we still materialize it as null. This is because in IncludeJsonEntityCollection we only run fixup code if there is entity in the collection to be fixed up to the parent. And the problem is that the fixup is what generates the collection instance. We should probably have a separate call to generate the collection (when the JSON for it is not null) and run the element fixup independently of the collection creation.