microsoft / microsoft/AdaptiveCards

Should unknown styles throw warnings?

Open
#2,780 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Good First Issue no-recent-activity Request
Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Consider this card:

{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.0",
	"body": [
		{
			"type": "Container",
			"style": "nonexistent",
			"items": [
				{
					"type": "TextBlock",
					"text": "blah",
					"weight": "bolder",
					"wrap": true
				}
			]
		}
	]
}

We get warnings in WPF and TS, but not UWP.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing how the sample card's unknown Container style is handled in the WPF, TypeScript, and UWP implementations. Trace the UWP style parsing or validation path and its existing warning behavior. Done means the behavior is decided and, if warnings are expected, UWP reports the same unknown-style condition without regressing the other implementations.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.