instedd / hub

InSTEDD Hub
2 stars 4 forks source link

Support open structs in bindings #10

Closed asterite closed 9 years ago

asterite commented 9 years ago

An action could have an argument like

{
  "type": {
    "kind": "struct",
    "members": [ ... ],
    "open": true
  }
}

which means that it should be able to add arbitrary key-value pairs to that argument.

Note that members might not be empty.

This is needed to run a flow in RapidPro.

bcardiff commented 9 years ago

pending validations for valid identifiers field name and non duplicates field names. other than that. done!