-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
I am reporting the feedback from @sebastiankb about the interaction output. Here's his comment:
Personally, I love the beauty of this one liner:
const jsonValue = await thing.readProperty("temperature");With the new interface, this will no longer be straightforward and gets more complex:
const jsonValue = (await (await thing.readProperty("temperature")).value());Or you have to go for a two liner for better readability:
const response = await thing.readProperty("temperature"); const jsonValue = await response.value();I see the advantage of the new approach but I'm wondering if there is a kind of hybrid approach possible?
I think he has a point and we may need to refine a little bit the interface towards a simpler solution. I know that we discussed in depth about this interface, therefore let's try to refine it and don't start the whole discussion again.
Metadata
Metadata
Assignees
Labels
No labels