Open dillonredding opened 4 years ago
Thanks for your input. I'll try to take a look at it.
On a related note, for invoking control elements, merging the template
and the arguments object (step 4) happens after URI templates are expanded (step 2). Does this mean templates can't be applied to URI templates? How would you go about supplying default values? Possibly through JSON Schema's default
keyword?
Trying to understand Mason's support for queries/templated transitions.
I'm not sure exactly how to specify the action metadata for a request like this:
According to draft 2 of the spec:
So, I don't think specifying only a control's
href
andschema
is sufficient:Draft 2 also states:
Then would that mean this control is enough?
I'm mostly unsure, because draft 2 goes on to say:
I'm also confused by the "without leading slashes" part. JSON path (as far as I know) starts with
$
. Should this be JSON Pointer instead? If not, does this mean the template needs to be/foo{?%24.foo,%24.bar}
(percent encoding to conform to template variable syntax)?