GraphQl variable using grapiql - variable is undefined
问题 I am using this endpoint: @PostMapping("graphql") public ResponseEntity<Object> getResource(@RequestBody Object query) { // String query ExecutionResult result; if (query instanceof String) { result = graphQL.execute(query.toString()); // if plain text } else{ String queryString = ((HashMap) query).get("query").toString(); Object variables = ((HashMap) query).get("variables"); ExecutionInput input = ExecutionInput.newExecutionInput() .query(queryString) .variables((Map<String, Object>)