You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting my journey with DGS, any help on this would be appreciated!
The example repo shows how to extend a the Shows type from the Reviews subgraph. I would instead, like to add the field reviews: Review to the Show type in the Shows subgraph. This obviously includes means that Review becomes an entity in the Review subgraph and has a key.
In the original demo repo for federation 1, there was a clear example of adding this type of relationship. In that case, the Reviews subgraph adds the product: Product field onto the Review type, and also extends the Product type with a reviews: [Review] field. I'm looking for a DGS example of the first (review.product.)
Is it possible (using DGS) to do this? Any examples available?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Starting my journey with DGS, any help on this would be appreciated!
The example repo shows how to extend a the Shows type from the Reviews subgraph. I would instead, like to add the field reviews: Review to the Show type in the Shows subgraph. This obviously includes means that Review becomes an entity in the Review subgraph and has a key.
In the original demo repo for federation 1, there was a clear example of adding this type of relationship. In that case, the Reviews subgraph adds the product: Product field onto the Review type, and also extends the Product type with a reviews: [Review] field. I'm looking for a DGS example of the first (review.product.)
Is it possible (using DGS) to do this? Any examples available?
Beta Was this translation helpful? Give feedback.
All reactions