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

feat: Customized functions in runtime should pass validation and be allowed to start bot #4356

Merged
merged 9 commits into from
Nov 29, 2020

Conversation

lei9444
Copy link
Contributor

@lei9444 lei9444 commented Oct 13, 2020

Description

Add a settings field "customizedFunctions" to allow user to config a list of functions name that is customized and should be ignored in validation phase.

Task Item

closes #3656
refs #3130

Screenshots

custom

cwhitten
cwhitten previously approved these changes Oct 13, 2020
@boydc2014
Copy link
Contributor

boydc2014 commented Oct 13, 2020

Current in master, I think we ignore the error of undefined functions, right? So some customer may not aware of they are using a customized functions. So can we at least make sure we don't break MeetAssitant, maybe give them a list of functions they need to add?

And we also need to have the error message clear and helpful saying that they need to add unknown functions in settings.

@a-b-r-o-w-n a-b-r-o-w-n added the 1.3 1.3 Release label Nov 13, 2020
@cwhitten
Copy link
Member

@lei9444 can you address conflicts please

@a-b-r-o-w-n a-b-r-o-w-n self-assigned this Nov 17, 2020
@cwhitten
Copy link
Member

ping @lei9444

@coveralls
Copy link

coveralls commented Nov 25, 2020

Coverage Status

Coverage increased (+0.01%) to 55.401% when pulling faba80e on lei9444:customFunction into bf904bb on microsoft:main.

@cwhitten
Copy link
Member

FYI @zxyanliu. let's add docs work item to explain this new feature

@cwhitten
Copy link
Member

overriding the E2E test failure. It looks like a cache issue with the devops agent.

@cwhitten cwhitten merged commit 6ad4945 into microsoft:main Nov 29, 2020
@zxyanliu
Copy link
Contributor

Got it. I will follow up with @cwhitten and @lei9444 on this soon.

@zxyanliu
Copy link
Contributor

zxyanliu commented Dec 1, 2020

@cwhitten and @lei9444
The content has been added and the PR is ready for review.

@zxyanliu
Copy link
Contributor

zxyanliu commented Dec 1, 2020

FYI. The doc on this feature has been merged to master. The content will go live soon.

@TheDreamSaver
Copy link

Hi @zxyanliu
Is the doc on this live yet?

lei9444 added a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…llowed to start bot (microsoft#4356)

* feat: Customized functions in runtime should pass validation and be allowed to start bot

* update the error message

* fix comment

* add * match for custom function

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.3 1.3 Release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customized functions in runtime should pass validation and be allowed to start bot
7 participants