INNER CODE UNIT · Java
Application
righettod/poc-graphql · src/main/java/eu/righettod/graphqlpoc/Application.java:10
public class Application {
/**
* Entry point
* @param args Command line
*/
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
/* Uncomment the block blow to register the 2 built-in instrumentation to prevents DOS using abusive query*/
/*
@Bean
public Instrumentation addMaxQueryComplexityInstrumentation(){
return new MaxQueryComplexityInstrumentation(15);
}
@Bean