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
AS user IW to define an XmlRule that doesn't break the transformation process if target is missing or if it fails SO we can create a system to define mandatory or not an XmlRule.
We can define a new type OptionalXmlRule and creare an hierarchy with sealed trait BaseXmlRule. Current type XmlRule will inherit from BaseXmlRule and it will mantain his name even if a better name should be MandatoryXmlRule, maybe we can use a type alias.
At this point transformer engine will process all rules pattern matching hover them following the right behavior.
AS user
IW to define an XmlRule that doesn't break the transformation process if target is missing or if it fails
SO we can create a system to define mandatory or not an XmlRule.
We can define a new type
OptionalXmlRule
and creare an hierarchy with sealed traitBaseXmlRule
. Current typeXmlRule
will inherit fromBaseXmlRule
and it will mantain his name even if a better name should beMandatoryXmlRule
, maybe we can use a type alias.At this point transformer engine will process all rules pattern matching hover them following the right behavior.
API Syntax proposal
The text was updated successfully, but these errors were encountered: