Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port: Register missingProperties custom function to get all variables the template contains #3885

Merged
merged 9 commits into from
Aug 2, 2021

Conversation

Danieladu
Copy link
Contributor

@Danieladu Danieladu commented Jul 26, 2021

Fixes #3849

Description

Register a new custom function: missingProperties, which could get all the variables the template contains.

@coveralls
Copy link

coveralls commented Jul 26, 2021

Pull Request Test Coverage Report for Build 1091225613

  • 70 of 80 (87.5%) changed or added relevant lines in 8 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 84.501%

Changes Missing Coverage Covered Lines Changed/Added Lines %
libraries/botbuilder-dialogs-adaptive/src/languageGeneratorExtensions.ts 3 4 75.0%
libraries/botbuilder-dialogs-adaptive/src/functions/missingPropertiesFunction.ts 12 14 85.71%
libraries/botbuilder-dialogs-adaptive/src/generators/multiLanguageGeneratorBase.ts 40 47 85.11%
Totals Coverage Status
Change from base Build 1090816509: 0.04%
Covered Lines: 19631
Relevant Lines: 22005

💛 - Coveralls

@joshgummersall joshgummersall merged commit 3e2beae into main Aug 2, 2021
@joshgummersall joshgummersall deleted the hond/missingproperty branch August 2, 2021 19:50
@@ -43,9 +43,11 @@ import { Headers as Headers_2 } from 'node-fetch';
import { ImportResolverDelegate } from 'botbuilder-lg';
import { IntExpression } from 'adaptive-expressions';
import { ListStyle } from 'botbuilder-dialogs';
import { MemoryInterface } from 'adaptive-expressions';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@joshgummersall Thanks josh for this fix!

joshgummersall pushed a commit that referenced this pull request Nov 3, 2021
…ariables the template contains (#3885)"

This reverts commit 3e2beae.
joshgummersall pushed a commit that referenced this pull request Nov 3, 2021
…ariables the template contains (#3885)" (#3970)

This reverts commit 3e2beae.
joshgummersall pushed a commit that referenced this pull request Nov 3, 2021
…ariables the template contains (#3885)" (#3970)

This reverts commit 3e2beae.
joshgummersall pushed a commit that referenced this pull request Nov 4, 2021
…ariables the template contains (#3885)" (#3970) (#3971)

This reverts commit 3e2beae.
sw-joelmut added a commit to southworks/botbuilder-js that referenced this pull request Nov 4, 2021
…et all variables the template contains (microsoft#3885)" (microsoft#3970)"

This reverts commit 619ac13.
sw-joelmut added a commit to southworks/botbuilder-js that referenced this pull request Nov 4, 2021
…et all variables the template contains (microsoft#3885)" (microsoft#3970)"

This reverts commit 619ac13.
joshgummersall pushed a commit that referenced this pull request Nov 5, 2021
…ePolicy (#3972)

* Revert "Revert "port: Register missingProperties custom function to get all variables the template contains (#3885)" (#3970)"

This reverts commit 619ac13.

* fix: useLanguagePolicy setting turn state, instead of languagePolicy
joshgummersall pushed a commit that referenced this pull request Nov 5, 2021
…ePolicy (#3972)

* Revert "Revert "port: Register missingProperties custom function to get all variables the template contains (#3885)" (#3970)"

This reverts commit 619ac13.

* fix: useLanguagePolicy setting turn state, instead of languagePolicy
joshgummersall pushed a commit that referenced this pull request Nov 5, 2021
…ePolicy (#3972) (#3973)

* Revert "Revert "port: Register missingProperties custom function to get all variables the template contains (#3885)" (#3970)"

This reverts commit 619ac13.

* fix: useLanguagePolicy setting turn state, instead of languagePolicy

Co-authored-by: Joel Mut <62260472+sw-joelmut@users.noreply.github.com>
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.

port: Register missingProperties custom function to get all variables the template contains (#5518)
3 participants