You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2020/03/27 15:23:44 UTC
[sling-whiteboard] 03/03: README
This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
commit 1561999c7124557f726000f3d86011e85b0d409a
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Mar 27 16:23:28 2020 +0100
README
---
graphql-scripting/README.md | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/graphql-scripting/README.md b/graphql-scripting/README.md
index 47496e2..b6d4600 100644
--- a/graphql-scripting/README.md
+++ b/graphql-scripting/README.md
@@ -1,9 +1,19 @@
-graphql-scripting
+Apache Sling GraphQL Scripting Engine
----
This is an experiment to run GraphQL queries server-side in Sling.
-It implements two Sling Scripting Engines, one for a `.gql` extension which
+----
+
+**Status**: at commit `e09c3df3`, the GraphQL engine is functional,
+a request to a Resource `/foo` mapped to a .gql script containing
+`{ currentResource { path } }` returns `{currentResource={path=/foo}}`.
+This demonstrates the server-side execution of GraphQL queries,
+in the context of the current Resource.
+
+----
+
+This module implements two Sling Scripting Engines, one for a `.gql` extension which
provides the actual GraphQL queries, and one for a `.gqls` extension which
provides GraphQL schema fragments.