Search packages, repositories and app categories

Package detailsv0.7.0

ferry_exec

A strongly typed execution interface for GraphQL operations

AndroidiOSWebmacOSWindowsLinux
30-day downloads
76.8K
Likes
1
Pub points
150

Install package

flutter pub add ferry_exec

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Ferry Exec provides a strongly typed execution interface for GraphQL operations, enabling safe and efficient interaction with GraphQL APIs in Flutter applications. It integrates seamlessly with the Ferry ecosystem, offering compile-time type safety and reducing runtime errors by generating Dart code from GraphQL queries. Designed for developers who prioritize reliability and performance, it supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. The package ensures that queries, mutations, and subscriptions are validated and executed with minimal boilerplate.

Use cases

  • Executing GraphQL queries with type safety
  • Generating Dart code from GraphQL documents
  • Integrating with Ferry's client stack
  • Building scalable GraphQL-powered UIs
  • Reducing runtime errors in API calls

Key features

  • Strongly typed GraphQL operations
  • Code generation from GraphQL schema
  • Cross-platform support
  • Minimal boilerplate
  • Integration with Ferry client

Suitable for

  • Flutter developers using GraphQL
  • Teams prioritizing type safety
  • Projects requiring reliable API interactions
  • Applications with complex GraphQL schemas
  • Developers using Ferry ecosystem

Considerations

  • Requires setup of code generation
  • Dependent on Ferry ecosystem
  • Needs GraphQL schema for codegen
  • Limited to projects using GraphQL
  • May increase build time due to code generation

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

A simple, powerful GraphQL Client for Flutter and Dart

MIT License PRs Welcome Watch on GitHub Star on GitHub Watch on GitHub Discord

Documentation 📖

Features

  1. ✅ Fully Typed: work faster and safer with compile time checks and IDE autocomplete, including fully typed Cache reads and writes.
  2. 🔄 Built-In Code Generators: automatically generated immutable data classes for all your GraphQL Operations and Fragments, based on your schema.
  3. 🌐 Customizable Network Interface: highly customizable network interface using gql_link, allowing you to compose and extend Links.
  4. ✨ Normalized Optimistic Cache: keep data in sync with cache normalization and update your UI instantly with optimistic data.
  5. 💾 Multiple Data Stores: extensible Store interface with built-in MemoryStore and HiveStore (which uses hive for offline persistence).
  6. 📄 Refetch & Pagination: easily update responses with new data or combine multiple responses, allowing for seamless pagination.
  7. 📱 Flutter Widgets: Widgets for Queries, Mutations, and Subscriptions, available out of the box.
  8. 🧈 Smooth: Run queries in a separate Isolate to free up resources on the UI thread

Packages

This repo is a monorepo for ferry and related packages.

Pub Package Description
version package:ferry Stream-based GraphQL Client
version package:ferry_cache Normalized, strongly typed, optimistic cache
version package:ferry_exec Strongly typed GraphQL execution interface
version package:ferry_flutter Flutter Widgets for GraphQL Operations
version package:ferry_generator Dart Type Generator for GraphQL Operations
version package:ferry_store Data Persistence for ferry's cache
version package:ferry_hive_store Hive implementation of ferry_store
version package:normalize Normalization / denormalization of GraphQL data

Categories

Dependencies

Dependency list 8 items

Source repository

Projects using this package

No data available yet.