패키지, 저장소 및 앱 카테고리 검색

패키지 상세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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.