code: function relayRelayDirectiveTransform(
    context: CompilerContext,
  ): CompilerContext {
    return IRTransformer.transform(context, {
      Fragment: visitRelayMetadata(fragmentMetadata),
      FragmentSpread: visitRelayMetadata(fragmentSpreadMetadata),
    });
  }
docs: A transform that extracts `@relay(plural: Boolean)` directives and converts
  them to metadata that can be accessed at runtime.