Replies: 1 comment 120 replies
-
Let's look at the server side, first; and if we use a But however you specify the request, you would get several copies of the same entity, i.e. you would have two instances of Hermione in memory. This will give you headaches when you want to change the data and send it back. All of this is extremely ugly, and basically JSONs fault, as it doesn't support a reference mechanist, which, e.g., YAML does. When we had this problem in a project, we chose a different solution: we return a list of people where the first entry is the root entry; and the I think this issue will have to be discussed further in the GraphQL community. |
Beta Was this translation helpful? Give feedback.
-
Title says most of it, I am creating a client API and have found recursion inside this type:
(Also component has componentInstance object inside it, so two instances of recursion)
When I run the program with a query that uses components, I get this error
Not sure how to avoid this?
Beta Was this translation helpful? Give feedback.
All reactions