graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

当返回类型是String或者Long类型时报错

Open oliverzst opened this issue 2 years ago • 0 comments

如果填了query.addResultAttributes("XXX");会报错返回如下信息: Validation error of type SubSelectionNotAllowed: Sub selection not allowed on leaf type Long!

如果不填query.addResultAttributes("XXX");会报错返回如下信息: Invalid Syntax : offending token '}' at line 1 column 187

oliverzst avatar Jun 21 '22 09:06 oliverzst