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

(WIP) Add :scope selector #36

Closed
wants to merge 1 commit into from

Conversation

run1t
Copy link

@run1t run1t commented Nov 11, 2018

I wanted to help on the :scope selector, for now I just managed to remove esquery and add the parser which was on this pull request https://github.com/estools/esquery/pull/61. But I'm not sure it's the good way to do it.

I launched the tests with the new parser and all tests are green.

From this I wanted to add the :scope operator but I have to admit I am a little lost...
If someone can give me some guidance I'll be very happy to help adding this new feature.

While waiting for your answer, I will continue to search on my own :)

@phenomnomnominal
Copy link
Owner

I’d definitely prefer this change to happen on the esquery side, as I really don’t want the selector syntax to diverge. I think the existing branch there is in a pretty good shape, it just needs tests. TSQuery would then get the new syntax for free.

Would you be keen to pick up the PR on the other repo?

@run1t
Copy link
Author

run1t commented Nov 11, 2018

I will add the tests on the PR from esquery probably tomorrow.
I will keep you in touch on the correlated issue: #23

@run1t run1t closed this Nov 11, 2018
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

Successfully merging this pull request may close these issues.

2 participants