Bertrand Delacretaz created SLING-9766:
------------------------------------------
Summary: GraphQL query cache key does not take selectors into
account
Key: SLING-9766
URL: https://issues.apache.org/jira/browse/SLING-9766
Project: Sling
Issue Type: Task
Components: GraphQL
Affects Versions: GraphQL Core 0.0.6
Reporter: Bertrand Delacretaz
Assignee: Bertrand Delacretaz
I think bHash and cHash should be different here, as the selectors influence
the query results and as such need to be taken into account:
{code}
String selectors = "something"
String bHash = provider.cacheQuery(queryText, path, null);
String cHash = provider.cacheQuery(queryText, path, selectors);
{code}
I'll submit a pull request.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)