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

[BUG] Support referenced DTDL schemas #523

Open
rido-min opened this issue Aug 3, 2022 · 3 comments
Open

[BUG] Support referenced DTDL schemas #523

rido-min opened this issue Aug 3, 2022 · 3 comments
Labels
bug Something isn't working DTDL Plug and Play Feature: Plug and Play related

Comments

@rido-min
Copy link
Member

rido-min commented Aug 3, 2022

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

@rido-min rido-min added bug Something isn't working needs review Review required by team member labels Aug 3, 2022
@YingXue YingXue added Plug and Play Feature: Plug and Play related and removed needs review Review required by team member labels Aug 30, 2022
@YingXue YingXue added the DTDL label Dec 6, 2022
@YingXue
Copy link
Member

YingXue commented Feb 28, 2023

Hi @rido-min
Can you help pointing me to any dtdl doc that has more explainations or samples regarding to how reference type works? I've searched through all the md file in this folder but couldn't find any: https://github.com/Azure/opendigitaltwins-dtdl/tree/master/DTDL

@rido-min
Copy link
Member Author

lmk if this helps

https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v3/DTDL.v3.md#interface-schemas

I can also provide additional samples

@JedidiahPaterson
Copy link

I am seeing the same thing and also with other schemas that point to schemas defined in the "schemas"[] @YingXue is there another way to do what we need to do or is there any traction on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DTDL Plug and Play Feature: Plug and Play related
Projects
None yet
Development

No branches or pull requests

3 participants