浏览代码

Add TODO comment for defaultValue serialization;

bjorn 9 年之前
父节点
当前提交
19a6cf9a8f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      graphql/introspection.lua

+ 1 - 1
graphql/introspection.lua

@@ -349,7 +349,7 @@ __InputValue = types.object({
         kind = types.string,
         kind = types.string,
         description = 'A GraphQL-formatted string representing the default value for this input value.',
         description = 'A GraphQL-formatted string representing the default value for this input value.',
         resolve = function(inputVal)
         resolve = function(inputVal)
-          return inputVal.defaultValue and tostring(inputVal.defaultValue)
+          return inputVal.defaultValue and tostring(inputVal.defaultValue) -- TODO improve serialization a lot
         end
         end
       }
       }
     }
     }