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

readOnly properties are not initializable #5

Open
fatadel opened this issue Aug 6, 2020 · 0 comments
Open

readOnly properties are not initializable #5

fatadel opened this issue Aug 6, 2020 · 0 comments

Comments

@fatadel
Copy link
Contributor

fatadel commented Aug 6, 2020

node-wot approach:

  1. Create a readOnly property.
  2. Make it changeable from the creator Thing but keep it read-only for all the clients.
  3. Initialize it with thing.writeProperty.

wot-py approach:

  1. Create a readOnly property.
  2. And now the property is read-only for everyone, even the creator Thing, which makes it not initializable as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant