JS SDK support for devices #131
Labels
c/sdk/js
This is related to the JavaScript SDK
in progress
We're working on it
needs/discussion
We need to discuss this
Milestone
Summary:
To provide console support for devices (#25), we first need to add support to the JS SDK. Due to the device structure being quite complex, it makes sense to discuss this matter explicitly.
Why do we need this?
What is already there? What do you see now?
What is missing? What do you want to see?
NS
,IS
,JS
,AS
)How do you propose to implement this?
Since I see no viable way to get this information automatically, my impulse would be to write a JSON definition that maps the devices fields to the respective component. It would look like this:
The SDK would then use this definition to decide which component to ask for which path.
Pros:
Cons:
At some later point, when we also generate API code for the SDK, we should also look into providing an automated solution to this issue as well.
What can you do yourself and what do you need help with?
If there is no objection to the strategy explained above, I will start implementing this.
cc @bafonins @htdvisser @johanstokking
The text was updated successfully, but these errors were encountered: