Explorar el Código

Add TODO comment for defaultValue serialization;

bjorn hace 9 años
padre
commit
19a6cf9a8f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      graphql/introspection.lua

+ 1 - 1
graphql/introspection.lua

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