Skip to content

Add AdaptiveCardTemplate ctor parameter to validate card template - #9280

Open
James May (fowl2) wants to merge 1 commit into
microsoft:mainfrom
fowl2:patch-1
Open

James May (fowl2) wants to merge 1 commit into
microsoft:mainfrom
fowl2:patch-1

Conversation

@fowl2

Copy link
Copy Markdown

Currently any string, or even null will be silently accepted, hiding any potential error.

Add a ctor parameter to perform basic validation - just the syntax at this point.

Ideally this would just be the default.

Future work could include schema validation, probably outside the constructor though.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant