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

[Feature Request] Feature Title Here #8877

Open
wchristi0101 opened this issue Apr 18, 2024 · 0 comments
Open

[Feature Request] Feature Title Here #8877

wchristi0101 opened this issue Apr 18, 2024 · 0 comments
Labels

Comments

@wchristi0101
Copy link

Problem Statement

I need to have custom functions with the same name, that do different things based on the template using them. Please give us the ability to add in our own Evaluation Context property. This should be a very small change.

Proposed solution

Please give us the ability to add Evaluation Context.

Add it to the parse value here, make the default value null.

exp = Expression.Parse(unboundString.Substring(2, unboundString.Length - 3));

And here is that line in the other library.
https://github.com/microsoft/botbuilder-dotnet/blob/ed06db29062d26c0ffbaf1807e8728ba3eacc017/libraries/AdaptiveExpressions/Expression.cs#L147

Alternatives or Workarounds

I will make the functions have separate names. This is not how our library currently handles it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant