A dotnet CLI tool for generating type-safe GraphQL clients for F# and Fable with static query verification.
Snowflaqe is a dotnet CLI tool that generates type-safe GraphQL clients for F# and Fable applications. It solves the problem of manual, error-prone GraphQL client implementation by automatically producing idiomatic F# types and HTTP client functions from GraphQL queries, with built-in static verification against the schema.
F# and Fable developers building applications that consume GraphQL APIs, particularly those who prioritize type safety and want to avoid runtime GraphQL errors.
Developers choose Snowflaqe for its robust static query verification, seamless integration with F# ecosystems, and ability to generate production-ready client projects with automatic deserialization, reducing boilerplate and ensuring correctness.
A dotnet CLI to generate type-safe GraphQL clients for F# and Fable with automatic deserialization, static query verification and type checking
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Analyzes GraphQL queries against the schema at compile time, preventing runtime errors as highlighted in the README's feature list.
Generates native F# types from GraphQL queries, handling interfaces, unions, and name collisions for seamless integration.
Tested with various backends like Hasura and PostGraphile, offering flexibility in API consumption without vendor lock-in.
Creates a ready-to-use F# or Fable project with HTTP client functions, reducing boilerplate code and setup time.
Admits in the 'Not Supported' section that GraphQL subscriptions are not handled, limiting real-time application use cases.
Requires a detailed snowflaqe.json file with multiple parameters, which can be complex for quick prototyping or simple projects.
Only targets F# and Fable ecosystems, making it irrelevant for teams using other .NET languages like C# or non-.NET frameworks.