Skip to content

Commit

Permalink
chore: return reviews for a product in example reviews subgraph (#994)
Browse files Browse the repository at this point in the history
When running queries like the following before the is pr no reviews for
a product were returned.

```graphql
{
  me {
    username
    id
    reviews {
      body
      product {
        upc
      }
    }
    
  }
  topProducts(first: 2) {
    upc
    reviews {
      body
    }
  }
}
```

Co-authored-by: Sergiy 🇺🇦 <[email protected]>
  • Loading branch information
alexus37 and devsergiy authored Dec 30, 2024
1 parent 7d86ddc commit b52a8e6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion examples/federation/reviews/graph/entity.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b52a8e6

Please sign in to comment.