Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify read/writeXproperties in case readOnly or writeOnly properties #845

Closed
egekorkan opened this issue Nov 9, 2019 · 4 comments
Closed
Assignees
Labels
by PR transition Comments addressed during the CR period

Comments

@egekorkan
Copy link
Contributor

When a TD has 3 "readOnly": true and 2 "writeOnly":true properties, what happens for read/writeXproperties in the following cases:

  • Consumer executes the readallproperties operation. Does the consumer get non readable properties? (I guess no)
  • Consumer executes the readmultipleproperties operation with names of non readable properties. Does the Consumer get only the readable properties or an error if possible?
  • Consumer executes the writeallproperties or writemultipleproperties operation with names and values of non writeable properties. Would only the writeable properties will be actually writen to in the Exposed Thing?

I think that these cases should be made clear somehow.

@egekorkan
Copy link
Contributor Author

@mlagally this issue is present also in WoT Architecture, Table 1

@sebastiankb
Copy link
Contributor

recommend to address this in the next charter. Maybe also a topic for "complex interaction" discussion.

@mlagally
Copy link
Contributor

mlagally commented Dec 2, 2019

The "writeOnly" properties cause a lot of problems, I suggest we revisit them. See also the discussion in w3c/wot-architecture#412

@sebastiankb sebastiankb added by PR transition Comments addressed during the CR period and removed CR2 period labels Dec 3, 2019
@sebastiankb
Copy link
Contributor

PR is merged we can close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by PR transition Comments addressed during the CR period
Projects
None yet
Development

No branches or pull requests

3 participants