Procházet zdrojové kódy

Add TODO comment for defaultValue serialization;

bjorn před 9 roky
rodič
revize
19a6cf9a8f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
       }
     }