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
* 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
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:
|[`@authenticated`](/federation/directives/authenticated)| Marks a field or type as requiring authentication. Only requests with valid credentials can access it. |
12
12
|`@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. |
18
18
|`@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`. |
19
19
|`@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. |
20
20
|`@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. |
0 commit comments