Skip to content

Commit 407e4b9

Browse files
authored
[Documentation] Fixed error in GraalVM native image docs (#1897)
### 📝 Description There is a small error in the Maven/Gradle native image documentation. The attribute `typeHierarchy` is part of the `schema` block but was previously in the `install(GraphQL)` scope ### 🔗 Related Issues no issue
1 parent ea770ef commit 407e4b9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

website/docs/plugins/gradle-plugin-usage-graalvm.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ fun Application.graphQLModule() {
3838
queries = listOf(
3939
HelloWorldQuery()
4040
)
41+
// mapping between interfaces/union KClass and their implementation KClasses
42+
typeHierarchy = mapOf()
4143
}
42-
// mapping between interfaces/union KClass and their implementation KClasses
43-
typeHierarchy = mapOf()
4444
}
4545
install(Routing) {
4646
graphQLPostRoute()

website/docs/plugins/maven-plugin-usage-graalvm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ fun Application.graphQLModule() {
3838
queries = listOf(
3939
HelloWorldQuery()
4040
)
41+
// mapping between interfaces/union KClass and their implementation KClasses
42+
typeHierarchy = mapOf()
4143
}
42-
// mapping between interfaces/union KClass and their implementation KClasses
43-
typeHierarchy = mapOf()
4444
}
4545
install(Routing) {
4646
graphQLPostRoute()

0 commit comments

Comments
 (0)