Skip to main content
FastQL maps ordinary Python annotations to built-in GraphQL scalars: ID is available as an explicit GraphQL scalar. NonNull(type_) and ListType(type_) are low-level wrappers used by the internal type model and advanced schema construction. In decorated Python definitions, prefer annotation syntax:
Use custom scalars for domain values that require explicit parsing and serialization. Scalar implementations must return GraphQL-compatible serialized output and raise clear errors for invalid input. The built-in Upload scalar is usable as an input type for multipart/form-data file uploads, injecting an UploadedFile into the resolver — see File uploads & batching.