パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.1.4

ferry_test_graphql

Ferry テストで使用される例の GraphQL 操作

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
106
いいね数
0
Pub ポイント
120

パッケージをインストール

flutter pub add ferry_test_graphql

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

DartおよびFlutter用のGraphQLクライアントであるFerry向けのユーティリティパッケージで、テストで使用される例としてのGraphQL操作を提供します。Ferryのテストスイートとの統合をサポートし、開発中のGraphQLインタラクションを検証するための事前定義されたクエリとミューテーションを提供します。自動テストに特化しており、Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォーム上でGraphQLエンドポイントの一貫性と信頼性のあるテストを保証します。このパッケージは広範なgql-dartエコシステムの一部であり、Ferryの型安全なGraphQL処理を補完しています。

用途

  • GraphQL クエリとミューテーションのテスト
  • フェリークライアントの動作の検証
  • テストにおけるスキーマ準拠の確保
  • CI/CDパイプラインのサポート
  • API応答のシミュレーション
  • GraphQL インテグレーションのデバッグ

主な機能

  • 事前定義されたテスト GraphQL 操作
  • Ferryテストフレームワークとの統合
  • クロスプラットフォーム互換性
  • 型安全な操作定義
  • 最小限のセットアップが必要
  • gql-dart エコシステムの一部

適している対象

  • Ferry を使用する Flutter 開発者
  • テスト自動化エンジニア
  • GraphQL API テスター
  • CI/CD パイプライン実装者
  • GraphQL クライアントを備えた Dart プロジェクト

注意事項

  • フェリークライアントのセットアップが必要です
  • 本番環境での使用には向かない
  • gql-dartエコシステムに依存
  • テストシナリオに限定
  • 適切なスキーマ定義が必要です
  • モックサーバーと併用するのが最適です

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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

カテゴリー

依存関係

依存関係一覧 6 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。