-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Option that allows you not to skip redundant intermediate classes #313
Comments
Added option |
Hi Michael, I expected
but in both cases I get
|
Try |
so works. Thank you very much!!! 👍 👍 👍 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Hi,
in the issue #225 is said that the skipping of the redundant intermediate class that has just a single collection property but not have collection semantics is a feature. Can you make it please as option and not feature?
My problem:
There is a standard XSD for some timetables. Consider the following part of it:
Generated class
Infrastructure
has Collection of ocps. Intermediate classOperationControlPoints
was consider as redundant and was skipped,Besides that there is a custom extension of this standard XSD:
The class for
OcpCultureMappings
is generated but is not reachable becauseOperationControlPoints
is skipped. Thus,Infrastucure
has collection of ocps but noOperationContolPoints
...I tried to use option
--ef
. It helped for root elements but in the depth the problem stays.I suppose if it was possible to switch off the skipping feature for root elements for option
--ef
than it can be possible to implement it for all elements for a new general option.Thanks in advance.
The text was updated successfully, but these errors were encountered: