Azure / Azure/azure-iot-explorer

[BUG] Support referenced DTDL schemas

Open
#523 3 comments 0 reactions 0 assignees View on GitHub
bug DTDL Plug and Play
Dominant language
TypeScript
Stars
252
Forks
85
Avg merge
3h 32m
Merged PRs (30d)
2

Description

PnP Properties defined in `schemas`, such as the ADU interface, are not rendered in the PnP views, with the error:

`Unsupported field schema for field root: Unknown field type undefined.`

## Repro steps

Connect an ADU device reporting `dtmi:azure:iot:deviceUpdate;1`
Navigate to PnP Components, Agent

![image](https://user-images.githubusercontent.com/14916339/182654541-62c56bb5-08bd-4853-bf31-4c86aaefc9ea.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with an ADU device reporting dtmi:azure:iot:deviceUpdate;1, then navigate to PnP Components > Agent and inspect the handling of PnP Properties defined in schemas. Trace the source of “Unsupported field schema for field root: Unknown field type undefined” and consider the work complete when those referenced DTDL properties render correctly in the PnP view.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.