Skip to content

Fixed AdaptiveCards Update Issues#2075

Merged
tdurnford merged 16 commits intomicrosoft:masterfrom
tdurnford:2068
Jun 17, 2019
Merged

Fixed AdaptiveCards Update Issues#2075
tdurnford merged 16 commits intomicrosoft:masterfrom
tdurnford:2068

Conversation

@tdurnford
Copy link
Copy Markdown
Contributor

@tdurnford tdurnford commented Jun 12, 2019

Fixes #2068

Fix #2068. Fixed AdaptiveCards validate and speak issues, by @tdurnford in PR #2075

Specific Changes

Changed CardObject.validate() to CardObject.validateProperties() in the AdaptiveCardRenderer component per AdaptiveCard's breaking-changes documentation. Also modified how the AdaptiveCardBuilder class handles speaking text since the speak attribute was removed from TextBlocks in the newest version of AdaptiveCards.

Copy link
Copy Markdown
Contributor

@compulim compulim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

If my only comment is not correct, please just commit.

If my only comment is correct, please fix and commit.

So, either way, I approve. 😄

Comment thread packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardBuilder.ts
@tdurnford tdurnford closed this Jun 16, 2019
@tdurnford tdurnford reopened this Jun 16, 2019
@tdurnford tdurnford merged commit 010df41 into microsoft:master Jun 17, 2019
@corinagum
Copy link
Copy Markdown
Contributor

🎊

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.

Web Chat throwing 'adaptiveCard.validate is not a function' error

3 participants