Package org.forum.server.specific_code
package org.forum.server.specific_code
-
ClassDescriptionThis class implements the access to the database : there are so many ways to do this, that the developper has still work to do.This class implements the access to the database : there are so many ways to do this, that the developper has still work to do.Instances of this classes will be sent back as INTERNAL_ERROR GraphQL errors, with their messageA Spring bean that register
DataFetcherExceptionResolverAdapter
to configure the way Java exceptions are mapped to GraphQL errors.
This class is both a sample, and the support for an IT test that checks proper error management on client side, when an error occurs on server side.Implements the spring-graphql exception management, for SubscriptionsThis class is responsible for Publishing new Posts.