Uses of Class
graphql.schema.GraphQLScalarType
Packages that use GraphQLScalarType
Package
Description
-
Uses of GraphQLScalarType in graphql
Fields in graphql declared as GraphQLScalarTypeModifier and TypeFieldDescriptionstatic final GraphQLScalarTypeScalars.GraphQLBooleanThis represents the "Boolean" type as defined in the graphql specification : https://spec.graphql.org/October2021/#sec-Booleanstatic final GraphQLScalarTypeScalars.GraphQLFloatThis represents the "Float" type as defined in the graphql specification : https://spec.graphql.org/October2021/#sec-Floatstatic final GraphQLScalarTypeScalars.GraphQLIDThis represents the "ID" type as defined in the graphql specification : https://spec.graphql.org/October2021/#sec-IDstatic final GraphQLScalarTypeScalars.GraphQLIntThis represents the "Int" type as defined in the graphql specification : https://spec.graphql.org/October2021/#sec-Intstatic final 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 GraphQLScalarTypeModifier and TypeMethodDescriptiondefault @Nullable ObjectValueVisitor.visitScalarValue(@Nullable 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 GraphQLScalarTypeModifier and TypeMethodDescriptionprotected CompletableFuture<ExecutionResult> ExecutionStrategy.completeValueForScalar(ExecutionContext executionContext, ExecutionStrategyParameters parameters, GraphQLScalarType scalarType, 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 value -
Uses of GraphQLScalarType in graphql.schema
Methods in graphql.schema that return GraphQLScalarTypeModifier and TypeMethodDescriptionGraphQLScalarType.Builder.build()GraphQLScalarType.transform(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.GraphQLScalarType.withNewChildren(SchemaElementChildrenContainer newChildren) Methods in graphql.schema with parameters of type GraphQLScalarTypeModifier and TypeMethodDescriptionstatic GraphQLScalarType.BuilderGraphQLScalarType.newScalar(GraphQLScalarType existing) GraphQLTypeVisitor.visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) GraphQLTypeVisitorStub.visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) Constructors in graphql.schema with parameters of type GraphQLScalarType -
Uses of GraphQLScalarType in graphql.schema.idl
Fields in graphql.schema.idl with type parameters of type GraphQLScalarTypeModifier and TypeFieldDescriptionstatic final List<GraphQLScalarType> ScalarInfo.GRAPHQL_SPECIFICATION_SCALARSA list of the built-in scalar types as defined by the graphql specificationMethods in graphql.schema.idl that return GraphQLScalarTypeModifier and TypeMethodDescriptionstatic GraphQLScalarTypeEchoingWiringFactory.fakeScalar(String name) CombinedWiringFactory.getScalar(ScalarWiringEnvironment environment) MockedWiringFactory.getScalar(ScalarWiringEnvironment environment) NoopWiringFactory.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 elementSchemaGeneratorDirectiveHelper.onScalar(GraphQLScalarType element, graphql.schema.idl.SchemaGeneratorDirectiveHelper.Parameters params) Methods in graphql.schema.idl that return types with arguments of type GraphQLScalarTypeMethods in graphql.schema.idl with parameters of type GraphQLScalarTypeModifier and TypeMethodDescriptionstatic booleanScalarInfo.isGraphqlSpecifiedScalar(GraphQLScalarType scalarType) Returns true if the scalar type is a scalar that is specified by the graphql specificationSchemaGeneratorDirectiveHelper.onScalar(GraphQLScalarType element, graphql.schema.idl.SchemaGeneratorDirectiveHelper.Parameters params) RuntimeWiring.Builder.scalar(GraphQLScalarType scalarType) This allows you to add in new custom Scalar implementations beyond the standard set.Method parameters in graphql.schema.idl with type arguments of type GraphQLScalarTypeModifier and TypeMethodDescriptiondefault 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 GraphQLScalarTypeModifier and TypeMethodDescriptionGraphQLTypeCollectingVisitor.visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) MultiReadOnlyGraphQLTypeVisitor.visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) -
Uses of GraphQLScalarType in graphql.schema.visitor
Subinterfaces with type arguments of type GraphQLScalarType in graphql.schema.visitorModifier and TypeInterfaceDescriptionstatic interfaceAGraphQLSchemaVisitorEnvironmentenvironment specific toGraphQLScalarTypeMethods in graphql.schema.visitor with parameters of type GraphQLScalarTypeModifier and TypeMethodDescriptiondefault 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 GraphQLScalarTypeModifier and TypeMethodDescriptionprotected voidArgumentValidationUtil.handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid) protected voidValidationUtil.handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid)