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

Expression language, support fluent style method calling for better readability #6464

Open
Rich-biomni opened this issue Sep 5, 2022 · 0 comments
Labels
ExemptFromDailyDRIReport Use this label to exclude the issue from the DRI report. feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@Rich-biomni
Copy link

The expression language is an extremely valuable part of building a bot, It would be a great enhancement in terms of expression readability if the expression syntax could support a fluent/extension method style.

Examples:

//decalred variable..
var1 = [{age:21}, {age:22}, {age:23}]

Current syntax

where(select(var1, x => x.age), x => x > 21))

--

fluent/extension syntax

var1.select(x => x.age).where(x => x > 21)

@Rich-biomni Rich-biomni added feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team. labels Sep 5, 2022
@tracyboehrer tracyboehrer added the ExemptFromDailyDRIReport Use this label to exclude the issue from the DRI report. label Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ExemptFromDailyDRIReport Use this label to exclude the issue from the DRI report. feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

2 participants