Replies: 2 comments 1 reply
-
Below is a summary of what we've discussed regarding the handling of return types in path expressions:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I prefer to use first-class keyword aka |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Noting a working decision to the question: What should be the default behavior when the potential for non-scalar values i.e. multi-valued or structs exist?
Decision: By default only scalar values are expected to be produced. To indicate that non-scalar value is expected, explicitly add a
tag
on thepath
with a key/value to be specified.Smarter implementations can read parse view definitions to warn users a non-scalar value may be created and is not tagged. Implementations that truncate non-scalar values are not recommended.
Beta Was this translation helpful? Give feedback.
All reactions