/** * Factory method for creating a Field instance representing a custom GraphQL Scalar type, {@link Type#CUSTOM} * * @param responseName alias for the result of a field * @param fieldName name of the field in the GraphQL operation * @param arguments arguments to be passed along with the field * @param optional whether the arguments passed along are optional or required * @param scalarType the custom scalar type of the field * @param conditions list of conditions for this field * @return Field instance representing {@link Type#CUSTOM} */ public static CustomTypeField forCustomType(String responseName, String fieldName, Map<String, Object> arguments, boolean optional, ScalarType scalarType, List<Condition> conditions) { return new CustomTypeField(responseName, fieldName, arguments, optional, scalarType, conditions); }
/** * Factory method for creating a Field instance representing a custom GraphQL Scalar type, {@link Type#CUSTOM} * * @param responseName alias for the result of a field * @param fieldName name of the field in the GraphQL operation * @param arguments arguments to be passed along with the field * @param optional whether the arguments passed along are optional or required * @param scalarType the custom scalar type of the field * @param conditions list of conditions for this field * @return Field instance representing {@link Type#CUSTOM} */ public static CustomTypeField forCustomType(String responseName, String fieldName, Map<String, Object> arguments, boolean optional, ScalarType scalarType, List<Condition> conditions) { return new CustomTypeField(responseName, fieldName, arguments, optional, scalarType, conditions); }
/** * Factory method for creating a Field instance representing a custom GraphQL Scalar type, {@link Type#CUSTOM} * * @param responseName alias for the result of a field * @param fieldName name of the field in the GraphQL operation * @param arguments arguments to be passed along with the field * @param optional whether the arguments passed along are optional or required * @param scalarType the custom scalar type of the field * @param conditions list of conditions for this field * @return Field instance representing {@link Type#CUSTOM} */ public static CustomTypeField forCustomType(String responseName, String fieldName, Map<String, Object> arguments, boolean optional, ScalarType scalarType, List<Condition> conditions) { return new CustomTypeField(responseName, fieldName, arguments, optional, scalarType, conditions); }