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

Custom functions #37

Open
f-w opened this issue Jul 18, 2017 · 2 comments
Open

Custom functions #37

f-w opened this issue Jul 18, 2017 · 2 comments

Comments

@f-w
Copy link

f-w commented Jul 18, 2017

The function expression grammar and built-in functions give me the impression that custom function is supported. However, there is no docs on how to create a custom function. Does it vary by language-specific library? Please clarify. I use jmespath.js.

This feature is important to me because built-in functions seem lacking some basic features, for example case sensitivity option for string matching functions such as contains.

@cs-christopher-carsey
Copy link

I second this. Recently noticed the lack of case sensitivity option as well and would like to add a lower() function to functional expressions (e.g. [?lower(foo) == 'bar']).

@f-w
Copy link
Author

f-w commented Jul 16, 2018

@carsey, if you use jmespath.js, I got custom function working successfully in my fork. I submitted a PR but author didn't respond.

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

No branches or pull requests

2 participants