Skip to content

Commit a4d4172

Browse files
chore: fix broken directives links (#173)
* fix broken links in directives table * Remove broken link on otel * remove broken wgc link * compress images that are too large * fix image src * fix kafka diagram not showing up * fix naming mistake * Fix shareable link * Change guide to tutorial * Fix broken link, change guide to tutorial where appropriate
1 parent c65be63 commit a4d4172

File tree

20 files changed

+17
-18
lines changed

20 files changed

+17
-18
lines changed

docs/deployments-and-hosting/kubernetes/helm-chart/cosmo-platform.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Username: [email protected]
4141
Password: wunder@123
4242
```
4343

44-
If you want to interact from [wgc](https://github.com/wundergraph/cosmo-docs/blob/main/deployments-and-hosting/kubernetes/helm-chart/broken-reference/README.md) with the controlplane, you can use the following credentials:
44+
If you want to interact from `wgc` with the controlplane, you can use the following credentials:
4545

4646
```bash
4747
export COSMO_API_KEY="cosmo_669b576aaadc10ee1ae81d9193425705"

docs/docs.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,6 @@
350350
"group": "Directives",
351351
"icon": "sign-post",
352352
"pages": [
353-
"federation/directives",
354353
"federation/federation-directives-index",
355354
"federation/directives/shareable",
356355
"federation/directives/authenticated",
@@ -619,7 +618,7 @@
619618
]
620619
},
621620
{
622-
"tab": "Guides",
621+
"tab": "Tutorials",
623622
"icon": "newspaper",
624623
"groups": [
625624
{

docs/federation/federation-compatibility-matrix.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: "The following list gives you an Overview of the compatibility betw
1111
| @extends | Supported |
1212
| @external | Supported |
1313
| @key | Supported |
14-
|@key (composite keys)| Supported |
14+
| @key (composite keys)| Supported |
1515
| @provides | Supported |
1616
| @requires | Supported |
1717
| @tag | Supported |
@@ -24,7 +24,7 @@ description: "The following list gives you an Overview of the compatibility betw
2424
|-----------|-------|
2525
| @inaccessible | Supported |
2626
| @override | Supported |
27-
| @shareable | Supported |
27+
| [@shareable](/federation/directives/shareable) | Supported |
2828
| @key "resolvable" argument | Supported |
2929
| @link | Supported (but unnecessary) |
3030

docs/federation/federation-directives-index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ This page lists the GraphQL Federation directives currently supported by WunderG
1010
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1111
| [`@authenticated`](/federation/directives/authenticated) | Marks a field or type as requiring authentication. Only requests with valid credentials can access it. |
1212
| `@composeDirective` (planned) | Tells the composition process to preserve a specific custom type system directive in the supergraph. |
13-
| [`@edfs__kafkaPublish`](/federation/event-driven-federation/kafka) | Marks a mutation field that publishes an event to a Kafka topic. Requires a topic and provider ID. |
14-
| [`@edfs__kafkaSubscribe`](/federation/event-driven-federation/kafka) | Declares a subscription field that listens to one or more Kafka topics. Used in EDG Subscription fields. |
15-
| [`@edfs__natsPublish`](/federation/event-driven-federation/nats) | Marks a mutation field that publishes an event to a NATS subject. Requires a subject and provider ID. |
16-
| [`@edfs__natsRequest`](/federation/event-driven-federation/nats) | Declares a query field that requests an event over NATS and expects a response. Used in EDG Query fields. |
17-
| [`@edfs__natsSubscribe`](/federation/event-driven-federation/nats) | Marks a subscription field that listens to one or more NATS subjects. Can include stream configuration. |
13+
| [`@edfs__kafkaPublish`](/federation/event-driven-federated-subscriptions/kafka#%40edfs-kafkapublish) | Marks a mutation field that publishes an event to a Kafka topic. Requires a topic and provider ID. |
14+
| [`@edfs__kafkaSubscribe`](/federation/event-driven-federated-subscriptions/kafka#%40edfs-kafkasubscribe) | Declares a subscription field that listens to one or more Kafka topics. Used in EDG Subscription fields. |
15+
| [`@edfs__natsPublish`](/federation/event-driven-federated-subscriptions/nats#%40edfs-natspublish) | Marks a mutation field that publishes an event to a NATS subject. Requires a subject and provider ID. |
16+
| [`@edfs__natsRequest`](/federation/event-driven-federated-subscriptions/nats#%40edfs-natsrequest) | Declares a query field that requests an event over NATS and expects a response. Used in EDG Query fields. |
17+
| [`@edfs__natsSubscribe`](/federation/event-driven-federated-subscriptions/nats#%40edfs-natssubscribe) | Marks a subscription field that listens to one or more NATS subjects. Can include stream configuration. |
1818
| `@external` | Marks a field as coming from another subgraph in a federated GraphQL schema. The field exists on the base type in a different subgraph and is not resolved by the current one, but it can be referenced if needed by directives or to satisfy an interface. In addition to indicating data ownership, `@external` is used in several advanced scenarios: to satisfy an interface implementation, to reference a field that may be conditionally provided via `@provides`, or to declare a dependency used by `@requires`. |
1919
| `@extends` | Marks an object or interface as an extension of a type that is defined in another subgraph, typically when the subgraph's GraphQL implementation does not support the `extend` keyword. This directive is mainly used by subgraph servers that lack native support for type extensions. In Federation v2, this is no longer required to mark entity types as extensions. Any subgraph can contribute fields to an entity without declaring it as an extension. In Federation v1, each entity had an originating subgraph, and any other subgraph referencing that entity was required to use the `extend` keyword. The `@extends` directive remains in use primarily for backward compatibility and edge cases in tooling support. |
2020
| `@inaccessible` | Hides a field or type from the client schema. It cannot be queried by the user, but the planner may still access it if used in a `@key`, `@requires`, or `@provides` directive. Types marked as inaccessible are excluded from unions and interfaces. If the server returns one, the router will either return an error or render the object as null depending on the field’s nullability. |
-989 KB
Loading
-1.28 MB
Loading
-930 KB
Binary file not shown.
-1.21 MB
Loading
-774 KB
Loading
-1.2 MB
Loading

0 commit comments

Comments
 (0)