Skip to content

Form with (partly) custom data structure #27

@niklase

Description

@niklase

I suggest one more form field type value 'undefined'/'json-value' (or similar) to enable some part of the data to be any JSON value. Useful when client should determine the data structure and you do not want to put it all in a string.

{
  "href": "http://example.io/tasks",
  "method": "POST",
  "rel": [
    "create-form"
  ],
  "value": [
    {
      "name": "description",
      "type": "string"
    },
    {
      "name": "customData",
      "type": "undefined" // or "json-value" or similar
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions