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 59275f4d1a5b51522fd9c38ae1d0876c3530dd46
Author: Bertrand Delacretaz <bdelacre...@apache.org>
AuthorDate: Thu May 28 11:02:54 2020 +0200

    No need for ArticleRef
---
 .../initial-content/apps/samples/common/GQLschema.jsp | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

diff --git 
a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/common/GQLschema.jsp
 
b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/common/GQLschema.jsp
index df77695..b412106 100644
--- 
a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/common/GQLschema.jsp
+++ 
b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/apps/samples/common/GQLschema.jsp
@@ -30,29 +30,22 @@ type Section {
   path: String
   
   ## fetch:samples/articlesBySection
-  articles: [ArticleRef]
+  articles: [Article]
 }
 
-type Article { 
+type Article {
+  path: String
   title: String
   tags: [String]
+  text: String
 
   # seeAlso field needs enhancement
   # to include full paths + titles
-  #
   ## fetch:samples/seeAlso
-  seeAlso: [ArticleRef]
-
-  text: String
+  seeAlso: [Article]
 }
 
 type TagQuery {
   query: [String]
-  articles : [ArticleRef]
-}
-
-type ArticleRef {
-  title: String
-  path: String
-  tags: [String]
+  articles : [Article]
 }
\ No newline at end of file

Reply via email to