On this page

Compatibility

This page describes which Federation features are supported by Hive Router, along with the current implementation status of each.

Hive Router targets the Federation v2 specification. Federation features are shipped over time as part of the Federation specification versions, so each feature below is mapped to the version that introduced it.

Status Legend

IconMeaning
Fully supported
Planned / In progress

Feature Support

FeatureStatusNotesFederation Version
Federation v2 base (@key, @external, @requires, @provides, @shareable foundations)Base specification supported by Hive Routerv2.0
Custom directives (@composeDirective)Fully supportedv2.1
@shareableFully supportedv2.2
@interfaceObjectFully supportedv2.3
SubscriptionsFully supported. See Subscriptions.v2.4
Authentication directives (@authenticated, @requiresScopes, JWT)Fully supported. See JWT Authentication.v2.5
Authorization (@policy)Fully supported. See Custom Authorization Policies.v2.6
Progressive @overrideFully supportedv2.7
Contextual arguments (@context / @fromContext)Plannedv2.8
Demand control (@cost / @listSize)Fully supported. See Demand Control.v2.9
Apollo Connectors (REST connectors)Not supported at the momentv2.10, v2.11, v2.13
Response caching (@cacheTag)Not supported yetv2.12