diff --git a/app/server.ts b/app/server.ts index 6e596bc3a19ab52d00ef4043592fc37273006f78..99695972bf8b0ff818548bd6efd4dc00dc942987 100644 --- a/app/server.ts +++ b/app/server.ts @@ -75,7 +75,7 @@ const typeDefs = ` type Query { # uses offset-based pagination as described in https://www.apollographql.com/docs/react/pagination/offset-based - projects(offset: Int, limit: Int, location: String): ProjectsResponse! + projects(offset: Int = 0, limit: Int = 10, location: String): ProjectsResponse! project(id: Int!): Project! } `;