Skip to content

Not available yet

Resolvers ​

Corvis does not include GraphQL support: there is no module, no resolvers, no schema generation and no GraphQL server. Corvis APIs are currently exposed over HTTP with controllers, WebSockets and Server-Sent Events.

There are no GraphQL resolvers, queries or object types.

Alternative ​

  • For read and write APIs, use REST controllers and document the contract with OpenAPI.
  • To validate and shape inputs, use corvis::z schemas.
  • A controller method with #[get] plays the role of a query; one with #[post], #[patch] or #[delete] plays the role of a mutation.

Released under the MIT License.