Responsible for determining the data available in a GraphQL delete mutation response
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
createResponse(DataFetchingEnvironment environment, boolean success, java.lang.Exception exception) Create the response data to be sent to the client |
|
GraphQLObjectType |
getObjectType(GraphQLTypeManager typeManager) Creates the schema object for a delete response |
Create the response data to be sent to the client
environment
- The data fetching environmentsuccess
- Whether or not the operation was successfulexception
- If not successful, the exception that occurredCreates the schema object for a delete response
typeManager
- The type manager