java.com.graphql_java_generator.annotation.GraphQLDirective Maven / Gradle / Ivy
/**
*
*/
package com.graphql_java_generator.annotation;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author etienne-sf
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ TYPE, FIELD, METHOD })
public @interface GraphQLDirective {
/**
* The name of the Directive, as defined in the GraphQL schema. This name is used to retrieve the associated
* converter, on runtime
*/
public String name();
}