A discontinued Dart code generator that builds type-safe Dart classes from GraphQL schemas and queries.
Artemis was a code generation tool for Dart and Flutter that automatically created type-safe Dart classes from GraphQL schemas and query files. It parsed GraphQL SDL and query documents to generate `.graphql.dart` files, providing compile-time type safety and reducing manual boilerplate when working with GraphQL APIs. The project has been discontinued, with users encouraged to migrate to alternatives like Ferry or graphql_codegen.
Dart and Flutter developers building applications that consume GraphQL APIs and who want type-safe client-side code generation.
Developers chose Artemis for its Apollo-like type generation in the Dart ecosystem, offering automated, schema-driven code generation with configurable scalar mapping and naming schemes to ensure robust type safety.
Build dart types from GraphQL schemas and queries
Automatically generates Dart classes from GraphQL schemas, ensuring compile-time validation and reducing manual boilerplate, as highlighted in the type-safe features section.
Supports mapping custom GraphQL scalars to Dart types with configurable parsers, allowing for complex data handling, detailed in the custom scalars configuration.
Offers extensive options via build.yaml for schema mapping and output control, enabling tailored code generation for different project needs, as shown in the schema mapping table.
Generates GraphQLQuery subclasses that simplify query execution when used with ArtemisClient, improving developer experience, mentioned in the ArtemisClient section.
Artemis is no longer maintained, as announced in the README notice, meaning no bug fixes, security updates, or new features will be added, making it risky for production use.
Requires detailed configuration in build.yaml with multiple options like scalar_mapping and schema_mapping, which can be cumbersome and error-prone for developers unfamiliar with the tool.
Heavily relies on the gql package and ArtemisClient, making migration to newer tools like Ferry or graphql_codegen challenging and increasing technical debt.
Artemis is an open-source alternative to the following products:
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.