Skip to content

setPropertyWriteHandler() gives impression that all properties will be writeable #199

@egekorkan

Description

@egekorkan

In the explanation of setPropertyWriteHandler(), it says:

If no write handler is initialized for any given Property, implementations SHOULD implement default property update and notifying observers on change, based on the Thing Description.

I think that it should be rather:

If no write handler is initialized for any given writeable (or non readOnly) Property, implementations SHOULD implement default property update and notifying observers on change, based on the Thing Description.

Otherwise, it gives the impression that a Scripting API implementer should add a write handler for properties that are readOnly as well.

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