Skip to content

Commit 36ef0e2

Browse files
authored
Merge pull request #20 from lukassailer/small-fixes
Adjust nullability and remove useless print
2 parents 52a7aea + da4727b commit 36ef0e2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/kotlin/example/GraphQLService.kt

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class GraphQLService {
5353
val queryTrees = queryTranspiler.buildInternalQueryTrees(ast)
5454
val results =
5555
queryTrees.map { tree ->
56-
println(tree)
5756
executeJooqQuery { ctx ->
5857
ctx.select(queryTranspiler.resolveInternalQueryTree(tree)).fetch()
5958
}

src/main/resources/graphql/schema.graphqls

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type Query {
66
actorById(actor_id: ID!): Actor
77
allCategories(first: Int, after: String): CategoryConnection!
88
allStores(first: Int, after: String): StoreConnection!
9-
filmsByYear(first: Int, after: String, release_year: Int!): FilmConnection!
9+
filmsByYear(first: Int, after: String, release_year: Int): FilmConnection!
1010
}
1111

1212
enum SortDirection {

0 commit comments

Comments
 (0)