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 valueprivate static ObjectValuesResolverConversion.externalValueToInternalValueForScalar(GraphQLScalarType graphQLScalarType, Object value, GraphQLContext graphqlContext, Locale locale) including validationprivate static Value<?> ValuesResolverConversion.externalValueToLiteralForScalar(GraphQLScalarType scalarType, Object value, GraphQLContext graphqlContext, @NotNull Locale locale) No validationprivate static ObjectValuesResolverConversion.literalToInternalValueForScalar(Value inputValue, GraphQLScalarType scalarType, CoercedVariables coercedVariables, GraphQLContext graphqlContext, @NotNull Locale locale) no validation -
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.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLScalarTypeModifier and TypeMethodDescriptionprivate 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 GraphQLScalarTypeModifier and TypeFieldDescriptionstatic final List<GraphQLScalarType> ScalarInfo.GRAPHQL_SPECIFICATION_SCALARSA list of the built-in scalar types as defined by the graphql specificationprivate final Map<String, GraphQLScalarType> RuntimeWiring.Builder.scalarsprivate final Map<String, GraphQLScalarType> RuntimeWiring.scalarsMethods in graphql.schema.idl that return GraphQLScalarTypeModifier and TypeMethodDescription(package private) GraphQLScalarTypeSchemaGeneratorHelper.buildScalar(SchemaGeneratorHelper.BuildContext buildCtx, ScalarTypeDefinition typeDefinition) static 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, 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 TypeMethodDescriptionprivate static ObjectEchoingWiringFactory.fakeScalarValue(String fieldName, GraphQLScalarType scalarType) private 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 specificationSchemaGeneratorDirectiveHelper.onScalar(GraphQLScalarType element, SchemaGeneratorDirectiveHelper.Parameters params) RuntimeWiring.Builder.scalar(GraphQLScalarType scalarType) This allows you to add in new custom Scalar implementations beyond the standard set.SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor.visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) Method parameters in graphql.schema.idl with type arguments of type GraphQLScalarTypeModifier and TypeMethodDescriptionprivate static booleanScalarInfo.inList(List<GraphQLScalarType> scalarList, 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 GraphQLScalarTypeModifier and TypeMethodDescriptionGraphQLTypeCollectingVisitor.visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) MultiReadOnlyGraphQLTypeVisitor.visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context) -
Uses of GraphQLScalarType in graphql.schema.visitor
Subclasses with type arguments of type GraphQLScalarType in graphql.schema.visitorModifier and TypeClassDescription(package private) static classSubinterfaces 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 TypeMethodDescriptionGraphQLSchemaVisitorAdapter.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 GraphQLScalarTypeModifier and TypeMethodDescriptionprotected voidArgumentValidationUtil.handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid) protected voidValidationUtil.handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid)