-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I'm not completely satisfied with the current spec. Here are the main decision points:
- Should the request and response record(s) be wrapped in an object with
inputs
/outputs
property? (currently yes)- Originally proposed to avoid the JSON array vulnerability, but I'm not sure if this is even an issue since we don't use cookies for authentication.
- Should we always return an array of output records, even for a single output record? (currently yes)
- So clients don't need to check for multiple types. However, it may be useful in the pipeline editor to know whether a block will output a single or multiple records. That would be specified in the block definition, and thus would be known by the client.
- Should the input record (always singular?) be wrapped in an array? (currently yes?)
- Presumably for consistency with outputs, but I really don't like this. Does it ever make sense to have an array of input records?
Metadata
Metadata
Assignees
Labels
No labels