Skip to content

Commit

Permalink
Add info about local supergraph build behaviour to cross-repo relatio…
Browse files Browse the repository at this point in the history
…nships (#699)
  • Loading branch information
daniel-chambers authored Oct 15, 2024
1 parent 393e8bd commit a51e95a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/federation/cross-repo-relationships.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ being deployed to the final API.
You can still easily use the Hasura DDN console to explore the supergraph and test relationships across subgraphs once
you have created a build.

If you perform a _local_ supergraph build using the CLI (ie. `ddn supergraph build local`), cross-repo relationships
will be ignored and will not be validated. If you run the build locally you will only see the subgraphs in that
repository, and any relationships to subgraphs from other repositories will be missing.

### Example

Let's say you have a supergraph with two subgraphs, each managed in different repositories: `users` and `products`.
Expand Down

0 comments on commit a51e95a

Please sign in to comment.