Hi guys,
I am have an XSD generated code where there are a lot elements which have only have one sequence type child (and no attributes).
Example:
Library -> Symbols -> Symbol::List
In this example (I think) it would be very convenient if the Symbol::List could be accessed directly from the Library itself.
(Currently I access them with
lib->symbols().symbolList()
).
I have implemented it in my simplify_single_child_lists:
https://github.com/cornelius/kode/compare/master...martonmiklos:simplify_single_child_lists?expand=1
If you have a bit time and find this feature useful please take a look on it.
Any review comment is welcome!
Hi guys,
I am have an XSD generated code where there are a lot elements which have only have one sequence type child (and no attributes).
Example:
Library -> Symbols -> Symbol::List
In this example (I think) it would be very convenient if the Symbol::List could be accessed directly from the Library itself.
(Currently I access them with
I have implemented it in my simplify_single_child_lists:
https://github.com/cornelius/kode/compare/master...martonmiklos:simplify_single_child_lists?expand=1
If you have a bit time and find this feature useful please take a look on it.
Any review comment is welcome!