Back to Developer Roadmap

Scalar Coercion

src/data/roadmaps/graphql/content/[email protected]

4.0424 B
Original Source

Scalar Coercion

Scalar coercion in GraphQL converts input values from one type to another when they don't match the expected type but can be successfully converted. This process is implemented using custom scalar types with coerce functions that handle the type conversion.

Visit the following resources to learn more: