Package org.allGraphQLCases.demo
Interface PartialQueries
- All Known Subinterfaces:
PartialRequestGraphQLRepository
- All Known Implementing Classes:
PartialDirectQueries
,PartialPreparedQueries
,PartialPreparedQueriesDeprecatedWay
public interface PartialQueries
These are samples of partialQueries that can be used with GraphQL against the allGraphQLCases GraphQL schema. There
are implemented in three ways in these classes:
You can see use of these partialQueries in the JUnit tests.
These samples tests the execution of partial partialQueries, that is: calling for one of the query, mutation or subscription that is defined in a Query, a Mutation or a Subscription object.
For instance:
PartialDirectQueries
, PartialWithBuilder
,
PartialPreparedQueries
.You can see use of these partialQueries in the JUnit tests.
These samples tests the execution of partial partialQueries, that is: calling for one of the query, mutation or subscription that is defined in a Query, a Mutation or a Subscription object.
For instance:
CIP_Character_CIS character = query.withEnum("{id name appearsIn homePlanet friends{name}}", "180");
- Author:
- etienne-sf
-
Method Summary
Modifier and TypeMethodDescriptionaBreak
(CEP_extends_CES test, String $if) allFieldCases
(CINP_AllFieldCasesInput_CINS allFieldCasesInput, Boolean uppercase, String textToAppendToTheForname, long nbItemsWithId, Date date, OffsetDateTime dateTime, List<Date> dates, Boolean uppercaseNameList, String textToAppendToTheFornameWithId, CINP_FieldParameterInput_CINS input, int nbItemsWithoutId, CINP_FieldParameterInput_CINS inputList, String textToAppendToTheFornameWithoutId) createHuman
(CINP_HumanInput_CINS human) withEnum
(CEP_Episode_CES episode) withList
(String name, List<CINP_CharacterInput_CINS> friends) withOneMandatoryParam
(CINP_CharacterInput_CINS character) withOneOptionalParam
(CINP_CharacterInput_CINS character)
-
Method Details
-
withoutParameters
List<CIP_Character_CIS> withoutParameters() throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
withOneOptionalParam
CIP_Character_CIS withOneOptionalParam(CINP_CharacterInput_CINS character) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
withOneMandatoryParam
CIP_Character_CIS withOneMandatoryParam(CINP_CharacterInput_CINS character) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
withEnum
CIP_Character_CIS withEnum(CEP_Episode_CES episode) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
withList
List<CIP_Character_CIS> withList(String name, List<CINP_CharacterInput_CINS> friends) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
error
CIP_Character_CIS error(String errorLabel) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
allFieldCases
CTP_AllFieldCases_CTS allFieldCases(CINP_AllFieldCasesInput_CINS allFieldCasesInput, Boolean uppercase, String textToAppendToTheForname, long nbItemsWithId, Date date, OffsetDateTime dateTime, List<Date> dates, Boolean uppercaseNameList, String textToAppendToTheFornameWithId, CINP_FieldParameterInput_CINS input, int nbItemsWithoutId, CINP_FieldParameterInput_CINS inputList, String textToAppendToTheFornameWithoutId) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
aBreak
CTP_break_CTS aBreak(CEP_extends_CES test, String $if) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException -
createHuman
CTP_Human_CTS createHuman(CINP_HumanInput_CINS human) throws GraphQLRequestExecutionException, GraphQLRequestPreparationException
-