{"action":"opened","issue":{"url":"https://api.github.com/repos/graphql-java-kickstart/graphql-spring-boot/issues/157","repository_url":"https://api.github.com/repos/graphql-java-kickstart/graphql-spring-boot","labels_url":"https://api.github.com/repos/graphql-java-kickstart/graphql-spring-boot/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/graphql-java-kickstart/graphql-spring-boot/issues/157/comments","events_url":"https://api.github.com/repos/graphql-java-kickstart/graphql-spring-boot/issues/157/events","html_url":"https://github.com/graphql-java-kickstart/graphql-spring-boot/issues/157","id":379062376,"node_id":"MDU6SXNzdWUzNzkwNjIzNzY=","number":157,"title":"`graphql.tools.schema-location-pattern` not recognized","user":{"login":"marceloverdijk","id":197004,"node_id":"MDQ6VXNlcjE5NzAwNA==","avatar_url":"https://avatars3.githubusercontent.com/u/197004?v=4","gravatar_id":"","url":"https://api.github.com/users/marceloverdijk","html_url":"https://github.com/marceloverdijk","followers_url":"https://api.github.com/users/marceloverdijk/followers","following_url":"https://api.github.com/users/marceloverdijk/following{/other_user}","gists_url":"https://api.github.com/users/marceloverdijk/gists{/gist_id}","starred_url":"https://api.github.com/users/marceloverdijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marceloverdijk/subscriptions","organizations_url":"https://api.github.com/users/marceloverdijk/orgs","repos_url":"https://api.github.com/users/marceloverdijk/repos","events_url":"https://api.github.com/users/marceloverdijk/events{/privacy}","received_events_url":"https://api.github.com/users/marceloverdijk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-09T08:12:43Z","updated_at":"2018-11-09T08:12:43Z","closed_at":null,"author_association":"NONE","body":"`graphql.tools.schema-location-pattern` is *not* recognized, but `graphql.tools.schemaLocation-Pattern` is.\r\n\r\nI think it's because `ClasspathResourceSchemaStringProvider` is using `@Value` instead of injecting `@ConfigurationProperties`:\r\n\r\n```\r\npublic class ClasspathResourceSchemaStringProvider implements SchemaStringProvider {\r\n\r\n  @Autowired\r\n  private ApplicationContext applicationContext;\r\n  @Value(\"${graphql.tools.schemaLocationPattern:**/*.graphqls}\")\r\n  private String schemaLocationPattern;\r\n```\r\n\r\n"}}
{"actor":{"display_login":"marceloverdijk"}}