-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only flatten a type once #88
base: master
Are you sure you want to change the base?
Conversation
This should resolve issue droyo#86
Thank you for opening this. Are you sure this resolves #86 ? #86 happens during parsing within the Instead this looks more like a performance optimization. Does this change the |
It solved an infinity loop problem that had when running |
But… it generated invalid recursive types |
@droyo Sorry in my haste to go to have a holiday I miss read the 86 ticket I will fix this once I figure out the error @t0rr3sp3dr0 is having. @t0rr3sp3dr0 Could you maybe provided me with the xsd that you used where you noticed the invalid types that are generated? Thanks in advance |
Sure @boekkooi-fresh! I was trying to generate models for SAML. They are all packed together at https://docs.oasis-open.org/security/saml/v2.0/saml-2.0-os-xsd.zip. I’ve solved the problem by converting all fields that had PS: I also had to change encoding for one document, it was PS2: To make it simpler for you, disconsider all |
See PR for details droyo#88
See PR for details droyo#88
This should resolve issue #86