Package 

Annotation LinkDirective

  • All Implemented Interfaces:

    
    public @interface LinkDirective
    
                        
    directive @link(url: String, import: [Import]) repeatable on SCHEMA

    The @link directive links definitions within the document to external schemas.

    External schemas are identified by their url, which optionally ends with a name and version with the following format: {NAME}/v{MAJOR}.{MINOR}

    By default, external types should be namespaced (prefixed with namespace__, e.g. key directive should be namespaced as federation__key) unless they are explicitly imported. graphql-kotlin automatically imports ALL federation directives to avoid the need for namespacing.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail