Co-authored-by: Laura Coursen <lecoursen@github.com> Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com>
24 lines
573 B
Markdown
24 lines
573 B
Markdown
---
|
|
title: Scalars
|
|
redirect_from:
|
|
- /v4/scalar
|
|
- /v4/reference/scalar
|
|
versions:
|
|
fpt: '*'
|
|
ghec: '*'
|
|
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)."
|
|
|
|
<!-- Content after this section is automatically generated -->
|