Skip to content

Commit

Permalink
docs: split "Advanced Entities" guide into use-case focused pages (#3064
Browse files Browse the repository at this point in the history
)

This PR :
- Restructures the very lengthy
https://www.apollographql.com/docs/federation/entities-advanced into
multiple pages for each use case described
- Renames the "federated-types" directory -> "federated-schemas" (this
is already what it's called in the Federation docs nav, the URLs just
don't match)
  • Loading branch information
Meschreiber authored Jul 17, 2024
1 parent f91cbd7 commit 1e6cb9c
Show file tree
Hide file tree
Showing 21 changed files with 1,525 additions and 1,487 deletions.
7 changes: 7 additions & 0 deletions docs/source/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@

/managed-federation/monitoring/ /docs/federation/performance/monitoring
/api/apollo-federation/ /docs/federation/api/apollo-subgraph/

/entities-advanced /docs/federation/entities/define-advanced-keys
/federated-types/overview /docs/federation/federated-schemas/
/federated-types/composition /docs/federation/federated-schemas/composition
/federated-types/federated-directives /docs/federation/federated-schemas/federated-directives
/federated-types/sharing-types /docs/federation/federated-schemas/sharing-types
/federated-types/interfaces /docs/federation/entities/interfaces
21 changes: 14 additions & 7 deletions docs/source/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@
"JetBrains IDE Support": "/building-supergraphs/jetbrains-ide-support"
},
"Federated Schemas": {
"Overview": "/federated-types/overview",
"Composition": "/federated-types/composition",
"Federated Directives": "/federated-types/federated-directives",
"Sharing Types (Value Types)": "/federated-types/sharing-types",
"Introduction to Entities": "/entities",
"Advanced Entities": "/entities-advanced",
"Entity Interfaces": "/federated-types/interfaces",
"Overview": "/federated-schemas/",
"Composition": "/federated-schemas/composition",
"Entities": {
"Introduction to Entities": "/entities/",
"Define Advanced Keys": "/entities/define-advanced-keys",
"Contribute and Reference Entity Fields": "/entities/contribute-fields",
"Resolve Another Subgraph's Fields": "/entities/resolve-another-subgraphs-fields",
"Use Contexts to Share Data": "/entities/use-contexts",
"Entity Interfaces": "/entities/interfaces",
"Migrate Fields": "/entities/migrate-fields",
"Handling the N+1 Problem": "entities/handling-n-plus-one"
},
"Sharing Types (Value Types)": "/federated-schemas/sharing-types",
"Federated Directives": "/federated-schemas/federated-directives",
"Migrating from Schema Stitching": "/migrating-from-stitching"
},
"Managed Federation": {
Expand Down
Loading

0 comments on commit 1e6cb9c

Please sign in to comment.