Skip to content

Commit

Permalink
[Documentation] Fixed error in GraalVM native image docs (#1897)
Browse files Browse the repository at this point in the history
### 📝 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
  • Loading branch information
simboel committed Dec 4, 2023
1 parent ea770ef commit 407e4b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions website/docs/plugins/gradle-plugin-usage-graalvm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ fun Application.graphQLModule() {
queries = listOf(
HelloWorldQuery()
)
// mapping between interfaces/union KClass and their implementation KClasses
typeHierarchy = mapOf()
}
// mapping between interfaces/union KClass and their implementation KClasses
typeHierarchy = mapOf()
}
install(Routing) {
graphQLPostRoute()
Expand Down
4 changes: 2 additions & 2 deletions website/docs/plugins/maven-plugin-usage-graalvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ fun Application.graphQLModule() {
queries = listOf(
HelloWorldQuery()
)
// mapping between interfaces/union KClass and their implementation KClasses
typeHierarchy = mapOf()
}
// mapping between interfaces/union KClass and their implementation KClasses
typeHierarchy = mapOf()
}
install(Routing) {
graphQLPostRoute()
Expand Down

0 comments on commit 407e4b9

Please sign in to comment.