package com.github.timtebeek.graphql.jpa;

import javax.persistence.EntityManager;

import org.crygier.graphql.GraphQLExecutor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@SuppressWarnings("static-method")
public class GraphqlJpaAutoConfiguration {
	@Bean
	@ConditionalOnMissingBean(GraphQLExecutor.class)
	public GraphQLExecutor graphQLExecutor(final EntityManager entityManager) {
		return new GraphQLExecutor(entityManager);
	}
}

@@ -251,24 +251,85 @@
 ation.Bean;%0A
+import org.springframework.context.annotation.ComponentScan;%0A
 import org.s
@@ -393,16 +393,31 @@
 uration%0A
+@ComponentScan%0A
 @Suppres

Add @ComponentScan to discover GraphQLController