Skip to content

docs: add Dio integration guide with error mapping, interceptors, and token refresh (#27) - #40

Open
donfreddy wants to merge 1 commit into
mainfrom
docs/dio-guide-27
Open

docs: add Dio integration guide with error mapping, interceptors, and token refresh (#27)#40
donfreddy wants to merge 1 commit into
mainfrom
docs/dio-guide-27

Conversation

@donfreddy

Copy link
Copy Markdown
Collaborator

Closes #27

Description

New third-party integration guide covering idiomatic Dio + Qora usage.

Content

  • Core pattern: Dio as fetcher with QoraBuilder
  • Error mapping: global errorMapper and per-query transformError for DioException
  • Auth interceptor: attach access tokens from secure storage
  • Token refresh interceptor: silent 401 token refresh with QueuedInterceptor
  • Complete fetcher: fully typed API class with copy-paste ready code
  • Testing section: mock Dio adapter for offline tests
  • Available in EN (en/07.third-party/5.with-dio.md) and FR (fr/07.third-party/5.with-dio.md)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add guide for Dio integration with Qora

1 participant