Class AllFieldCasesController

java.lang.Object
org.allGraphQLCases.server.AllFieldCasesController

@Controller @SchemaMapping(typeName="AllFieldCases") public class AllFieldCasesController extends Object
Author:
generated by graphql-java-generator
See Also:
  • Field Details

  • Constructor Details

    • AllFieldCasesController

      public AllFieldCasesController(org.springframework.graphql.execution.BatchLoaderRegistry registry)
  • Method Details

    • forname

      @SchemaMapping(field="forname") public Object forname(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin, @Argument("uppercase") Boolean uppercase, @Argument("textToAppendToTheForname") String textToAppendToTheForname)
      This method loads the data for ${dataFetcher.graphQLType}.forname. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      uppercase - The parameter that will receive the field argument of the same name for the current data to fetch
      textToAppendToTheForname - The parameter that will receive the field argument of the same name for the current data to fetch
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • _break

      @SchemaMapping(field="break") public Object _break(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin, @Argument("if") String _if)
      This method loads the data for ${dataFetcher.graphQLType}.break. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      _if - The parameter that will receive the field argument of the same name for the current data to fetch
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • age

      @SchemaMapping(field="age") public Object age(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin, @Argument("unit") String unit)
      This method loads the data for ${dataFetcher.graphQLType}.age. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      unit - The parameter that will receive the field argument of the same name for the current data to fetch
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • dates

      @SchemaMapping(field="dates") public Object dates(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin)
      This method loads the data for ${dataFetcher.graphQLType}.dates. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • comments

      @SchemaMapping(field="comments") public Object comments(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin)
      This method loads the data for ${dataFetcher.graphQLType}.comments. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • booleans

      @SchemaMapping(field="booleans") public Object booleans(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin)
      This method loads the data for ${dataFetcher.graphQLType}.booleans. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • aliases

      @SchemaMapping(field="aliases") public Object aliases(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin)
      This method loads the data for ${dataFetcher.graphQLType}.aliases. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • planets

      @SchemaMapping(field="planets") public Object planets(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin)
      This method loads the data for ${dataFetcher.graphQLType}.planets. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • friends

      @SchemaMapping(field="friends") public Object friends(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin)
      This method loads the data for ${dataFetcher.graphQLType}.friends. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • matrix

      @SchemaMapping(field="matrix") public Object matrix(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin)
      This method loads the data for ${dataFetcher.graphQLType}.matrix. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • oneWithoutFieldParameter

      @SchemaMapping(field="oneWithoutFieldParameter") public Object oneWithoutFieldParameter(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, org.dataloader.DataLoader<UUID,STP_AllFieldCasesWithIdSubtype_STS> dataLoader, STP_AllFieldCases_STS origin)
      This method loads the data for ${dataFetcher.graphQLType}.oneWithoutFieldParameter. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      dataLoader - The DataLoader allows to load several data in one query. It allows to solve the (n+1) queries issues, and greatly optimizes the response time.
      You'll find more informations here: https://github.com/graphql-java/java-dataloader
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • oneWithIdSubType

      @SchemaMapping(field="oneWithIdSubType") public Object oneWithIdSubType(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, org.dataloader.DataLoader<UUID,STP_AllFieldCasesWithIdSubtype_STS> dataLoader, STP_AllFieldCases_STS origin, @Argument("uppercase") Boolean uppercase)
      This method loads the data for ${dataFetcher.graphQLType}.oneWithIdSubType. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      dataLoader - The DataLoader allows to load several data in one query. It allows to solve the (n+1) queries issues, and greatly optimizes the response time.
      You'll find more informations here: https://github.com/graphql-java/java-dataloader
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      uppercase - The parameter that will receive the field argument of the same name for the current data to fetch
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • listWithIdSubTypes

      @SchemaMapping(field="listWithIdSubTypes") public Object listWithIdSubTypes(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, org.dataloader.DataLoader<UUID,STP_AllFieldCasesWithIdSubtype_STS> dataLoader, STP_AllFieldCases_STS origin, @Argument("nbItems") Long nbItems, @Argument("date") Date date, @Argument("dates") List<Date> dates, @Argument("uppercaseName") Boolean uppercaseName, @Argument("textToAppendToTheForname") String textToAppendToTheForname)
      This method loads the data for ${dataFetcher.graphQLType}.listWithIdSubTypes. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      dataLoader - The DataLoader allows to load several data in one query. It allows to solve the (n+1) queries issues, and greatly optimizes the response time.
      You'll find more informations here: https://github.com/graphql-java/java-dataloader
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      nbItems - The parameter that will receive the field argument of the same name for the current data to fetch
      date - The parameter that will receive the field argument of the same name for the current data to fetch
      dates - The parameter that will receive the field argument of the same name for the current data to fetch
      uppercaseName - The parameter that will receive the field argument of the same name for the current data to fetch
      textToAppendToTheForname - The parameter that will receive the field argument of the same name for the current data to fetch
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • oneWithoutIdSubType

      @SchemaMapping(field="oneWithoutIdSubType") public Object oneWithoutIdSubType(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin, @Argument("input") SINP_FieldParameterInput_SINS input)
      This method loads the data for ${dataFetcher.graphQLType}.oneWithoutIdSubType. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      input - The parameter that will receive the field argument of the same name for the current data to fetch
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • listWithoutIdSubTypes

      @SchemaMapping(field="listWithoutIdSubTypes") public Object listWithoutIdSubTypes(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin, @Argument("nbItems") Long nbItems, @Argument("input") SINP_FieldParameterInput_SINS input, @Argument("textToAppendToTheForname") String textToAppendToTheForname)
      This method loads the data for ${dataFetcher.graphQLType}.listWithoutIdSubTypes. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      nbItems - The parameter that will receive the field argument of the same name for the current data to fetch
      input - The parameter that will receive the field argument of the same name for the current data to fetch
      textToAppendToTheForname - The parameter that will receive the field argument of the same name for the current data to fetch
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • issue65

      @SchemaMapping(field="issue65") public Object issue65(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_AllFieldCases_STS origin, @Argument("inputs") List<SINP_FieldParameterInput_SINS> inputs)
      This method loads the data for ${dataFetcher.graphQLType}.issue65. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      inputs - The parameter that will receive the field argument of the same name for the current data to fetch
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.
    • issue66

      @SchemaMapping(field="issue66") public Object issue66(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, org.dataloader.DataLoader<UUID,STP_AllFieldCases_STS> dataLoader, STP_AllFieldCases_STS origin, @Argument("input") List<SINP_AllFieldCasesInput_SINS> input)
      This method loads the data for ${dataFetcher.graphQLType}.issue66. It returns an Object: the data fetcher implementation may return any type that is accepted by a spring-graphql controller
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      dataLoader - The DataLoader allows to load several data in one query. It allows to solve the (n+1) queries issues, and greatly optimizes the response time.
      You'll find more informations here: https://github.com/graphql-java/java-dataloader
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the author attribute of the origin, which is an instance of {ObjectType {name:Post, fields:{Field{name:id, type:ID!, params:[]},Field{name:date, type:Date!, params:[]},Field{name:author, type:Member, params:[]},Field{name:publiclyAvailable, type:Boolean, params:[]},Field{name:title, type:String!, params:[]},Field{name:content, type:String!, params:[]},Field{name:authorId, type:ID, params:[]},Field{name:topicId, type:ID, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      input - The parameter that will receive the field argument of the same name for the current data to fetch
      Returns:
      It may return any value that is valid for a spring-graphql controller, annotated by the @SchemaMapping annotation
      Throws:
      NoSuchElementException - This method may return a NoSuchElementException exception. In this case, the exception is trapped by the calling method, and the return is consider as null. This allows to use the Optional.get() method directly, without caring of whether or not there is a value. The generated code will take care of the NoSuchElementException exception.