Skip to content

Glossary: Building APIs with Node.js

Type coercion

Also written: coercion

Converting text such as `"3"` to the type the schema asks for. It matters for query strings and route parameters, which are always text.

Where the book teaches it

Related terms

AjvQuery string