Stream: implementers
Topic: Slice discriminator when element is primitive
Chris Moesel (Mar 08 2017 at 18:29):
I have a 0..* code
that I need to slice in order to indicate that one of the code must be foo
. What is the discriminator in this case? Usually the discriminator is a sub-path (or @type
or @profile
), but since code
is primitive, there isn't really a subpath to reference (unless it is value
?). So what is the expected discriminator when slicing an array of primitives?
Lloyd McKenzie (Mar 08 2017 at 18:37):
"value"
Chris Moesel (Mar 08 2017 at 18:44):
Got it. Thanks.
Last updated: Apr 12 2022 at 19:14 UTC