Skip to content

Commit e8f3708

Browse files
committed
Add description to readonly schema
1 parent 0c46306 commit e8f3708

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/graphql/kickstart/tools/SchemaObjects.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ data class SchemaObjects(
3434
* Makes a GraphQLSchema with query but without mutation and subscription.
3535
*/
3636
fun toReadOnlySchema(): GraphQLSchema = GraphQLSchema.newSchema()
37+
.description(description)
3738
.query(query)
3839
.additionalTypes(dictionary)
3940
.build()

0 commit comments

Comments
 (0)