나는 변종을 거의 사용하지 않았고 GraphQL에서지도를 반환 할 운이 없었습니다. 그래서 다음과 같은 두 가지 목적이 있습니다Return HashMap <String, Object> from GraphQL-Java
public class Customer {
private String name, age;
// getters & setters
}
public class Person {
private String type;
private Map<String, Customer> customers;
// getters & setters
}
내 스키마는 다음과 같습니다
type Customer {
name: String!
age: String!
}
type Person {
type: String!
customers: [Customer!] // Here I tried all combination but had no luck, is there a Map type support for GQL?
}
사람이 어떻게 GraphQL 마술이 또는 다른 방법을 처리 할 수 있도록이를 말해 주시겠습니까.
감사합니다.