On this page

astFromScalarType

The astFromScalarType function exported by @graphql-tools/utils.

astFromScalarType(type, schema, pathToDirectivesInExtensions?): ScalarTypeDefinitionNode

Defined in: packages/utils/src/print-schema-with-directives.ts:411

Parameters

type

GraphQLScalarType

schema

GraphQLSchema

pathToDirectivesInExtensions?

string[]

Returns

ScalarTypeDefinitionNode