WooCommerce Code Reference

Schema

Interfaces, Classes and Traits

CustomScalarType
Stable subclass of the underlying GraphQL engine's CustomScalarType, used by autogenerated custom scalar types.
EnumType
Stable subclass of the underlying GraphQL engine's EnumType, used by autogenerated enums.
Error
Stable subclass of the underlying GraphQL engine's Error, used by autogenerated resolvers when they need to surface a GraphQL-spec error directly (e.g. the UNAUTHORIZED error an autogenerated authorize()-backed resolver throws before invoking the command).
InputObjectType
Stable subclass of the underlying GraphQL engine's InputObjectType, used by autogenerated input types.
InterfaceType
Stable subclass of the underlying GraphQL engine's InterfaceType, used by autogenerated interface types.
ObjectType
Stable subclass of the underlying GraphQL engine's ObjectType, used by autogenerated output types, pagination types and root Query/Mutation types.
Schema
Stable subclass of the underlying GraphQL engine's Schema, used by autogenerated GraphQLController subclasses.
Type
Static facade for GraphQL scalar types and type modifiers referenced by autogenerated resolvers.