Skip to content

How to properly use @filter(op: "regex")? #587

Closed Answered by obi1kenobi
elenakrittik asked this question in Q&A
Discussion options

You must be logged in to vote

I think there's a minor typo in the query that means the argument was never actually passed: elenakrittik/gdtk#49

The query doesn't actually validate against the schema with this typo, since the @filter directive doesn't take a values key per its schema definition. But the query parser on Trustfall's side was a little too permissive here and didn't raise that as an error. I'll open an issue for that — would you be open to putting together a PR to fix that by any chance?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@obi1kenobi
Comment options

@elenakrittik
Comment options

Answer selected by obi1kenobi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants