Annotation LinkedSpec
-
- All Implemented Interfaces:
@Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS}) public @interface LinkedSpec
Meta annotation used to indicate that given directive/type is associated with imported
@link
specification.Example usage:
@LinkedSpec(FEDERATION_SPEC) @Repeatable @GraphQLDirective( name = KEY_DIRECTIVE_NAME, description = KEY_DIRECTIVE_DESCRIPTION, locations = [DirectiveLocation.OBJECT, DirectiveLocation.INTERFACE] ) annotation class KeyDirective(val fields: FieldSet, val resolvable: Boolean = true)