Using 0.7.0, I'm trying to create a hierarchy where Model A is a parent to Model B, which is in turn a parent to Model C. To preserve the links between them, a middle node like Model B would contain reciprocated references to its parent (A) and its child (C). Something, however, seems to be going awry:
Note that in the example above, commenting out either update will remove the error.
Some context...
Traversable, two-way relationships are a GraphQL implementation pattern. If you're exposing a schema, and you have a fragment coupled to a component, you might want that fragment to retrieve data up and/or down its hierarchy. It's possible to work around this limitation as the library stands (and this library's great), it's just messier.
Using 0.7.0, I'm trying to create a hierarchy where Model A is a parent to Model B, which is in turn a parent to Model C. To preserve the links between them, a middle node like Model B would contain reciprocated references to its parent (A) and its child (C). Something, however, seems to be going awry:
https://codesandbox.io/s/dawn-sunset-4weoz?file=/src/App.js
Note that in the example above, commenting out either update will remove the error.
Some context... Traversable, two-way relationships are a GraphQL implementation pattern. If you're exposing a schema, and you have a fragment coupled to a component, you might want that fragment to retrieve data up and/or down its hierarchy. It's possible to work around this limitation as the library stands (and this library's great), it's just messier.