[S2GRAPH-216] Provide a transform directive in the GraphQL query result

JIRA:
  [S2GRAPH-216] https://issues.apache.org/jira/browse/S2GRAPH-216

Pull Request:
  Closes #168

Author
  daewon <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/5706bbf1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/5706bbf1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/5706bbf1

Branch: refs/heads/master
Commit: 5706bbf1d9c0111d350a33d12f03430ecce2fd02
Parents: d1d1740
Author: DO YUNG YOON <[email protected]>
Authored: Fri Jun 15 16:27:05 2018 +0900
Committer: DO YUNG YOON <[email protected]>
Committed: Fri Jun 15 16:27:05 2018 +0900

----------------------------------------------------------------------
 CHANGES                                          |  1 +
 .../s2graph/graphql/types/S2Directive.scala      | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/5706bbf1/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index b9bf81b..1f82a5e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -78,6 +78,7 @@ Release Notes - S2Graph - Version 0.2.0
     * [S2GRAPH-210] - Rename package `mysqls` to `schema`
     * [S2GRAPH-213] - Abstract Query/Mutation from Storage.
     * [S2GRAPH-214] - Add REAME for movielens examples
+    * [S2GRAPH-216] - Provide a transform directive in the GraphQL query 
result.
 
 ** New Feature
     * [S2GRAPH-123] - Support different index on out/in direction.

http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/5706bbf1/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Directive.scala
----------------------------------------------------------------------
diff --git 
a/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Directive.scala 
b/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Directive.scala
index 2eb5768..54512c1 100644
--- 
a/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Directive.scala
+++ 
b/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Directive.scala
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.s2graph.graphql.types
 
 import sangria.schema.{Argument, Directive, DirectiveLocation, StringType}

Reply via email to