Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jord1e committed Apr 12, 2022
1 parent 0423cdc commit dc395b8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ class DgsAutoConfigurationTest {
assertThat(ctx).getBean(DgsQueryExecutor::class.java).extracting {
val json = it.executeAndExtractJsonPath<Any>(
" query availableQueries {\n" +
" __schema {\n" +
" queryType {\n" +
" fields {\n" +
" name\n" +
" description\n" +
" }\n" +
" }\n" +
" }\n" +
"}",
" __schema {\n" +
" queryType {\n" +
" fields {\n" +
" name\n" +
" description\n" +
" }\n" +
" }\n" +
" }\n" +
"}",
"data.__schema.queryType.fields[0].name"
)
assertThat(json).isEqualTo("hello")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ class DgsSchemaProvider(
overrideTypeResolver = dgsComponents.any { component ->
component.javaClass.methods.any { method ->
method.isAnnotationPresent(DgsTypeResolver::class.java) &&
method.getAnnotation(DgsTypeResolver::class.java).name == annotation.name &&
component != dgsComponent
method.getAnnotation(DgsTypeResolver::class.java).name == annotation.name &&
component != dgsComponent
}
}
}
Expand Down

0 comments on commit dc395b8

Please sign in to comment.