filter
This parser helps you filter a SDTF graph.
Interface
Options
query
required
SDTFQuery
The query that select items in the graph. Learn more about how to query your SDTF graph.
resolveAliases
optional
boolean
false
Whether to resolve the aliases of the graph. Thus, preventing aliases to become unresolvable when their source is not included in the selected items.
allowUnresolvableAliases
optional
boolean
true
Whether to allow unresolvable aliases to flow through.
This option is only available when resolveAliases = true
deduplicate
optional
true | undefined
undefined
When you target tokens from different areas in your graph you can end up with tokens that will have the same name which will lead to an override. When set to true
, this option will suffix tokens with a -{number}
to prevent the override.
failOnMutate
optional
true | undefined
undefined
By default, this parser mutates your graph. When set to true
this option will make your pipeline return an error when your tokens respective path differ from their original one in the graph. Set this option to true
if you want to be 100% aligned between design and code.
Basic usage: select all tokens from a group in a collection
Last updated