This is documentation for v16, which is currently in preview.
See the latest stable version instead.

Attribute and Directive Reference

Quick reference for all Fusion-related attributes and their GraphQL directive equivalents. For detailed usage and examples, follow the links to the relevant guide pages.

Attribute and Directive Reference Table

AttributeDirectiveDescriptionGuide Page
[ObjectType<T>]Maps static class as extension to entity type TEntities and Lookups
[QueryType]Marks class as contributing Query root fieldsGetting Started
[MutationType]Marks class as contributing Mutation root fieldsGetting Started
[SubscriptionType]Marks class as contributing Subscription root fieldsGetting Started
[Lookup]@lookupDeclares field as entity lookup resolverEntities and Lookups
[NodeResolver]Marks as Relay node resolverEntities and Lookups
[Internal]@internalHides lookup from composed schemaEntities and Lookups
[Shareable]@shareableAllows multiple subgraphs to resolve fieldEntities and Lookups
[Parent(requires: "...")]Declares field requirements from parentEntities and Lookups
[Require("...")]@requireDeclares complex field requirementsGetting Started, Adding a Subgraph
[EntityKey("...")]@keyDeclares entity key for resolutionEntities and Lookups
[BindMember(nameof(...))]Replaces raw FK with resolved entityAdding a Subgraph
[Tag("...")]@tagApplies tag for composition filteringComposition
[DataLoader]Source-generates DataLoader interfaceGetting Started, Entities and Lookups
[UsePaging]Enables cursor-based paginationGetting Started
[ID<T>]Declares field as Relay-style IDEntities and Lookups
[Inaccessible]@inaccessibleHides from composite schemaComposition
[Override(from: "...")]@overrideMigrates field ownershipDeployment and CI/CD
[Provides("...")]@providesDeclares locally-resolvable subfieldsEntities and Lookups
[External]@externalField defined by another subgraphEntities and Lookups

See Also

Last updated on February 17, 2026 by Michael Staib