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
It would be nice for information contained in the <include> element be preserved when converting sdf::Element objects to string. This information is being stored in sdf::Element as of #509. Currently, the included models (or other entities) are expanded into the parent model with the parameters in the <include> element being used to override values in the included model. Thus, when the corresponding sdf::Element of the parent model is converted to a string, we get the string of the expanded child model.
Alternatives considered
The alternative is to always preserve the <include> element, but this would be a breaking change.
Implementation suggestion
Add an option in sdf::ParserConfig and and a command line flag to ign sdf -p
The text was updated successfully, but these errors were encountered:
Desired behavior
It would be nice for information contained in the
<include>
element be preserved when convertingsdf::Element
objects to string. This information is being stored insdf::Element
as of #509. Currently, the included models (or other entities) are expanded into the parent model with the parameters in the<include>
element being used to override values in the included model. Thus, when the correspondingsdf::Element
of the parent model is converted to a string, we get the string of the expanded child model.Alternatives considered
The alternative is to always preserve the
<include>
element, but this would be a breaking change.Implementation suggestion
Add an option in
sdf::ParserConfig
and and a command line flag toign sdf -p
The text was updated successfully, but these errors were encountered: