Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
GraphQL Core 0.0.6
-
None
-
None
Description
As reported by andysch in SLING-9800 - I'm extracting that specific issue from that ticket as I'd like to release that module.
Andy says:
I am working on the AEM GraphQL Persisted Queries and a client is calling the PQ servlet instead of an GraphiQL endpoint. So the resource of the request is the Servlet and using that resource is not working out (DefaultSchemaProvider.getSchema() returns an empty string). When using a Mock Resource with these values:
new MockResource(
"/apps/graphql-enablement/content/endpoint", /* path */
"graphql-enablement/components/endpoint", /* resourceType */
null, /* resourceSuperType */
null, /* metadata */
resourceResolver,
new ValueMapDecorator(new HashMap<String, Object>() {{
put("", "");
}}), /* properties */
null /* parent */
);
Attachments
Issue Links
- is related to
-
SLING-9800 Extract a service to be able to execute GraphQL queries directly
- Closed