Skip to content

Wrappers for value and input #9

Description

@fatadel

node-wot approach:

The body of a request is already considered as a new value when writing to a property. It is also possible to wrap it around {"value": ...value...} and node-wot will unwrap that. But the first way is preferred.

The body of a request is already considered as an input when invoking an action. It is not possible to wrap it around {"input": ...input...}.


wot-py approach:

It is mandatory to wrap property values with {"value": ...value...} and action inputs with {"input": ...input...}.

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