[JAVA-14663] Update Graphql code for Boot 2.7.x changes and move to new module (#12729)

This commit is contained in:
Haroon Khan
2022-10-07 18:21:41 +01:00
committed by GitHub
parent ae96297bc2
commit c18ce8a0cf
29 changed files with 452 additions and 249 deletions
@@ -1,25 +0,0 @@
type Post {
id: ID!
title: String!
text: String!
category: String
author: Author!
first_author: Author!
}
type Author {
id: ID!
name: String!
thumbnail: String
posts: [Post]!
}
# The Root Query for the application
type Query {
recentPosts(count: Int, offset: Int): [Post]!
}
# The Root Mutation for the application
type Mutation {
writePost(title: String!, text: String!, category: String, author: String!) : Post!
}