add filter param on serviceColumn field

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

Branch: refs/heads/master
Commit: 6a294060793563c3dc222c6a77817b9f4d18a137
Parents: 8e86536
Author: daewon <[email protected]>
Authored: Fri Jun 15 16:44:10 2018 +0900
Committer: daewon <[email protected]>
Committed: Fri Jun 15 16:44:10 2018 +0900

----------------------------------------------------------------------
 .../src/main/scala/org/apache/s2graph/graphql/types/S2Type.scala  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/6a294060/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Type.scala
----------------------------------------------------------------------
diff --git 
a/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Type.scala 
b/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Type.scala
index 49e6b82..1324126 100644
--- a/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Type.scala
+++ b/s2graphql/src/main/scala/org/apache/s2graph/graphql/types/S2Type.scala
@@ -139,7 +139,8 @@ object S2Type {
           Argument("ids", 
OptionInputType(ListInputType(toScalarType(column.columnType)))),
           Argument("search", OptionInputType(StringType)),
           Argument("offset", OptionInputType(IntType), defaultValue = 0),
-          Argument("limit", OptionInputType(IntType), defaultValue = 100)
+          Argument("limit", OptionInputType(IntType), defaultValue = 100),
+          Argument("filter", OptionInputType(StringType), "desc here")
         ),
         description = Option("desc here"),
         resolve = c => {

Reply via email to