You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After implementation of derivationBySubsumption option all abstract types, which were replaced by its children types, remains empty (without any attributes) in the result proto files and they never used in any result messages anymore.
There should be an option like skipEmptyTypeInheritance, but for abstract types replaced by derivation, e.g. skipAbstractTypes
Or may be remove abstract types by default when derivationBySubsumption is enabled, because anyway messages without fields are useless.
The text was updated successfully, but these errors were encountered:
ComBatVision
changed the title
New option to skip empty abstract types is required
Empty abstract types should be skipped from serialization
Oct 28, 2020
ComBatVision
changed the title
Empty abstract types should be skipped from serialization
Abstract types should be skipped from serialization
Nov 13, 2020
I think even abstract types which have own fields (not only empty one) should also be skipped, because they also should be replaced by derivationBySubsumption option and never used directly for data serialization.
That's why I propose to skip any type which have attribute abstract = "true" regardless of its content.
After implementation of derivationBySubsumption option all abstract types, which were replaced by its children types, remains empty (without any attributes) in the result proto files and they never used in any result messages anymore.
There should be an option like skipEmptyTypeInheritance, but for abstract types replaced by derivation, e.g. skipAbstractTypes
Or may be remove abstract types by default when derivationBySubsumption is enabled, because anyway messages without fields are useless.
The text was updated successfully, but these errors were encountered: