microsoft / microsoft/AdaptiveCards
Should unknown styles throw warnings?
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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