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

Expand on type of consensus #91

Open
gregsdennis opened this issue Jul 19, 2021 · 2 comments
Open

Expand on type of consensus #91

gregsdennis opened this issue Jul 19, 2021 · 2 comments

Comments

@gregsdennis
Copy link
Collaborator

Currently, consensus is indicated with a simple ✔️. This is misleading when the consensus isn't "returns expected results." For example, Consensus for $[?(@.d in [2, 3])] is that the syntax is not supported, but this still has a ✔️ for many of the libraries.

I think it would be beneficial to have some sort of indicator to show what the consensus is.

@cburgmer
Copy link
Owner

(Link to your example https://cburgmer.github.io/json-path-comparison/#filter_expression_with_in_array_of_values).

The most trivial example for the case you describe is probably given with "Parens notation" $(key,more) (https://cburgmer.github.io/json-path-comparison/#parens_notation): One implementation supports it, the rest don't (consensus currently is "NOT SUPPORTED", while some implementations return IMHO a nonsensical response).

What would we want to show here?

@cburgmer
Copy link
Owner

I guess the underlying issue here is that "consensus for not supporting a type of query" is treated similarly to "consensus on supporting something". On the former we might want to be more nuanced showing that this type of query is not generally supported, but a small set of implementations exist that suggest a future consensus.

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

No branches or pull requests

2 participants