Uses of Class
graphql.schema.GraphQLScalarType
-
Packages that use GraphQLScalarType Package Description graphql graphql.analysis.values graphql.execution graphql.schema graphql.schema.diffing graphql.schema.idl graphql.schema.impl graphql.schema.visitor graphql.validation -
-
Uses of GraphQLScalarType in graphql
Fields in graphql declared as GraphQLScalarType Modifier and Type Field Description static GraphQLScalarTypeScalars. GraphQLBooleanThis represents the "Boolean" type as defined in the graphql specification : https://spec.graphql.org/October2021/#sec-Booleanstatic GraphQLScalarTypeScalars. GraphQLFloatThis represents the "Float" type as defined in the graphql specification : https://spec.graphql.org/October2021/#sec-Floatstatic GraphQLScalarTypeScalars. GraphQLIDThis represents the "ID" type as defined in the graphql specification : https://spec.graphql.org/October2021/#sec-IDstatic GraphQLScalarTypeScalars. GraphQLIntThis represents the "Int" type as defined in the graphql specification : https://spec.graphql.org/October2021/#sec-Intstatic GraphQLScalarTypeScalars. GraphQLStringThis represents the "String" type as defined in the graphql specification : https://spec.graphql.org/October2021/#sec-String -
Uses of GraphQLScalarType in graphql.analysis.values
Methods in graphql.analysis.values with parameters of type GraphQLScalarType Modifier and Type Method Description default @Nullable java.lang.ObjectValueVisitor. visitScalarValue(@Nullable java.lang.Object coercedValue, GraphQLScalarType inputType, ValueVisitor.InputElements inputElements)This is called when a scalar value is encountered -
Uses of GraphQLScalarType in graphql.execution
Methods in graphql.execution with parameters of type GraphQLScalarType Modifier and Type Method Description protected java.util.concurrent.CompletableFuture<ExecutionResult>ExecutionStrategy. completeValueForScalar(ExecutionContext executionContext, ExecutionStrategyParameters parameters, GraphQLScalarType scalarType, java.lang.Object result)Called to turn an object into a scalar value according to theGraphQLScalarTypeby asking that scalar type to coerce the object into a valid valueprivate static java.lang.ObjectValuesResolverConversion. externalValueToInternalValueForScalar(GraphQLScalarType graphQLScalarType, java.lang.Object value, GraphQLContext graphqlContext, java.util.Locale locale)including validationprivate static Value<?>ValuesResolverConversion. externalValueToLiteralForScalar(GraphQLScalarType scalarType, java.lang.Object value, GraphQLContext graphqlContext, @NotNull java.util.Locale locale)No validationprivate static java.lang.ObjectValuesResolverConversion. literalToInternalValueForScalar(Value inputValue, GraphQLScalarType scalarType, CoercedVariables coercedVariables, GraphQLContext graphqlContext, @NotNull java.util.Locale locale)no validation -
Uses of GraphQLScalarType in graphql.schema
Methods in graphql.schema that return GraphQLScalarType Modifier and Type Method Description GraphQLScalarTypeGraphQLScalarType.Builder. build()GraphQLScalarTypeGraphQLScalarType. transform(java.util.function.Consumer<GraphQLScalarType.Builder> builderConsumer)This helps you transform the current GraphQLObjectType into another one by starting a builder with all the current values and allows you to transform it how you want.GraphQLScalarTypeGraphQLScalarType. withNewChildren(SchemaElementChildrenContainer newChildren)Methods in graphql.schema with parameters of type GraphQLScalarType Modifier and Type Method Description static GraphQLScalarType.BuilderGraphQLScalarType. newScalar(GraphQLScalarType existing)TraversalControlGraphQLTypeVisitor. visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context)TraversalControlGraphQLTypeVisitorStub. visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context)Constructors in graphql.schema with parameters of type GraphQLScalarType Constructor Description Builder(GraphQLScalarType existing) -
Uses of GraphQLScalarType in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLScalarType Modifier and Type Method Description private voidSchemaGraphFactory. newScalar(GraphQLScalarType scalarType, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
Uses of GraphQLScalarType in graphql.schema.idl
Fields in graphql.schema.idl with type parameters of type GraphQLScalarType Modifier and Type Field Description static java.util.List<GraphQLScalarType>ScalarInfo. GRAPHQL_SPECIFICATION_SCALARSA list of the built-in scalar types as defined by the graphql specificationprivate java.util.Map<java.lang.String,GraphQLScalarType>RuntimeWiring.Builder. scalarsprivate java.util.Map<java.lang.String,GraphQLScalarType>RuntimeWiring. scalarsMethods in graphql.schema.idl that return GraphQLScalarType Modifier and Type Method Description (package private) GraphQLScalarTypeSchemaGeneratorHelper. buildScalar(SchemaGeneratorHelper.BuildContext buildCtx, ScalarTypeDefinition typeDefinition)static GraphQLScalarTypeEchoingWiringFactory. fakeScalar(java.lang.String name)GraphQLScalarTypeCombinedWiringFactory. getScalar(ScalarWiringEnvironment environment)GraphQLScalarTypeMockedWiringFactory. getScalar(ScalarWiringEnvironment environment)GraphQLScalarTypeNoopWiringFactory. getScalar(ScalarWiringEnvironment environment)default GraphQLScalarTypeWiringFactory. getScalar(ScalarWiringEnvironment environment)Returns aGraphQLScalarTypegiven scalar defined in IDLdefault GraphQLScalarTypeSchemaDirectiveWiring. onScalar(SchemaDirectiveWiringEnvironment<GraphQLScalarType> environment)This is called when a custom scalar is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL elementGraphQLScalarTypeSchemaGeneratorDirectiveHelper. onScalar(GraphQLScalarType element, SchemaGeneratorDirectiveHelper.Parameters params)Methods in graphql.schema.idl that return types with arguments of type GraphQLScalarType Modifier and Type Method Description java.util.Map<java.lang.String,GraphQLScalarType>RuntimeWiring. getScalars()private SchemaPrinter.SchemaElementPrinter<GraphQLScalarType>SchemaPrinter. scalarPrinter()Methods in graphql.schema.idl with parameters of type GraphQLScalarType Modifier and Type Method Description private static java.lang.ObjectEchoingWiringFactory. fakeScalarValue(java.lang.String fieldName, GraphQLScalarType scalarType)private java.lang.StringSchemaGeneratorHelper. getScalarDesc(GraphQLScalarType scalar, ScalarTypeDefinition typeDefinition)private booleanArgValueOfAllowedTypeChecker. isArgumentValueScalarLiteral(GraphQLScalarType scalarType, Value<?> instanceValue)static booleanScalarInfo. isGraphqlSpecifiedScalar(GraphQLScalarType scalarType)Returns true if the scalar type is a scalar that is specified by the graphql specificationGraphQLScalarTypeSchemaGeneratorDirectiveHelper. onScalar(GraphQLScalarType element, SchemaGeneratorDirectiveHelper.Parameters params)RuntimeWiring.BuilderRuntimeWiring.Builder. scalar(GraphQLScalarType scalarType)This allows you to add in new custom Scalar implementations beyond the standard set.TraversalControlSchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context)Method parameters in graphql.schema.idl with type arguments of type GraphQLScalarType Modifier and Type Method Description private static booleanScalarInfo. inList(java.util.List<GraphQLScalarType> scalarList, java.lang.String scalarTypeName)default GraphQLScalarTypeSchemaDirectiveWiring. onScalar(SchemaDirectiveWiringEnvironment<GraphQLScalarType> environment)This is called when a custom scalar is encountered, which gives the schema directive a chance to modify the shape and behaviour of that DSL element -
Uses of GraphQLScalarType in graphql.schema.impl
Methods in graphql.schema.impl with parameters of type GraphQLScalarType Modifier and Type Method Description TraversalControlGraphQLTypeCollectingVisitor. visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context)TraversalControlMultiReadOnlyGraphQLTypeVisitor. visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) -
Uses of GraphQLScalarType in graphql.schema.visitor
Methods in graphql.schema.visitor with parameters of type GraphQLScalarType Modifier and Type Method Description TraversalControlGraphQLSchemaVisitorAdapter. visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context)default GraphQLSchemaTraversalControlGraphQLSchemaVisitor. visitScalarType(GraphQLScalarType scalarType, GraphQLSchemaVisitor.ScalarTypeVisitorEnvironment environment)Called when visiting aGraphQLScalarTypein the schema -
Uses of GraphQLScalarType in graphql.validation
Methods in graphql.validation with parameters of type GraphQLScalarType Modifier and Type Method Description protected voidArgumentValidationUtil. handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid)protected voidValidationUtil. handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid)
-