1
0
mirror of synced 2025-12-20 18:36:31 -05:00
Files
docs/content/graphql/reference/scalars.md
2021-06-24 10:21:07 -04:00

25 lines
601 B
Markdown

---
title: Scalars
redirect_from:
- /v4/scalar
- /v4/reference/scalar
versions:
fpt: '*'
ghes: '*'
ghae: '*'
topics:
- API
---
## About scalars
[Scalars](https://graphql.github.io/graphql-spec/June2018/#sec-Scalars) are primitive values: `Int`, `Float`, `String`, `Boolean`, or `ID`.
When calling the GraphQL API, you must specify nested subfields until you return only scalars.
For more information, see "[Introduction to GraphQL](/graphql/guides/introduction-to-graphql#field)."
{% for item in graphql.schemaForCurrentVersion.scalars %}
{% include graphql-scalar %}
{% endfor %}