Closed KrifaYounes closed 6 years ago
Yes, it's possible, but for this project, and just for teaching purposes, I put all the queries in a Query class, all the mutations in a Mutation class, and the method to get authors from a book in another class.
it's possible to separate method contained in query and mutation in differents file by domain AuthorQueryResolver.java BookQueryResolver.java AuthorMutationResolver.java BookMutationResolver.java