Skip to main content

leto_generator

Generates `package:leto_schema`'s `GraphQLSchema`s from annotated Dart classes and functions. This is a code-first generator which will generate different GraphQL elements based on annotations in Dart code. Usage is very simple. You just need `@GraphQLObject()` annotation on any class you want to generate an object type for. And the `@Query()`, `@Mutation()` or `Subscription()`