-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Union With Wildcard And Number #61
Comments
Can you tell me what is meant by 'consensus'. For example in the link below: |
See it as expected result. |
ok |
Then what does it mean if the consensus is "not supported"? |
That's in fact just another consensus and simply means, that most implementations do not support this query. An example: Let's assume a math problem: 5 + 1 = ? There are multiple ways to calculate it, but no way is guaranteed to provide the correct result. So let's assume, there are 5 ways to calculate the result: The first way gives 6 Without knowing, what the expected result is, we assume it's 6, because that's the consensus of all possible ways is 6. I hope, this answers your question. However, in this specific case, "Not supported" isn't really a desirable result. That's why we use the result from Proposal A. There's still no guarantee, that this is the result we should expect, but it's pretty likely, that it's result is, what most people would expect, when executing the given query. |
Test Data:
Selector:
Resul:
Expected result (Proposal A):
https://cburgmer.github.io/json-path-comparison/results/union_with_wildcard_and_number.html
The text was updated successfully, but these errors were encountered: