Open licanhua opened 2 years ago
as noted in Teams chat, this is because the schema we're handing to monaco
is out of date:
we should:
http://adaptivecards.io/schemas/adaptive-card.json
enableSchemaRequest
optionHey, are there any updates regarding the schema publish change? This doesn't affect just the designer. It's a bit jarring when you open a quickstart sample and get warnings about not following the schema:
This can be mitigated by changing the schema in the code to https://raw.githubusercontent.com/microsoft/AdaptiveCards/main/schemas/1.4.0/adaptive-card.json
or https://raw.githubusercontent.com/microsoft/AdaptiveCards/main/schemas/1.5.0/adaptive-card.json
instead of http://adaptivecards.io/schemas/adaptive-card.json
.
Not a breaking issue, but it makes getting started to people who have never worked with adaptive cards a little bit harder and to waste time investigating why the documentation does not correspond with what their IDE is saying. Speaking from personal experience.
Thanks!