Skip to content

Add configurable query retries - #13

Merged
jmarek41 merged 4 commits into
mainfrom
fix/query-network-retry
Aug 21, 2026
Merged

Add configurable query retries#13
jmarek41 merged 4 commits into
mainfrom
fix/query-network-retry

Conversation

@janpollak

Copy link
Copy Markdown
Contributor
  • Přidává opt-in GraphQLQueryRetryPolicy pro single-response query; přednastavení jednou okamžitě opakuje chyby -1005 a -1001 na stejné URLSession.
  • Retry je defaultně vypnutý a nevztahuje se na mutace, subscriptions ani incremental responses; cancellation se respektuje.
  • Síťové chyby single-response operací se nově mapují podle kontraktu na GraphQLAPIAdapterError a chování pokrývají deterministické URLProtocol testy.

@janpollak
janpollak requested review from jmarek41 and ssestak July 12, 2026 21:08
Base automatically changed from feature/Introduce-async-streams-support to main August 21, 2026 16:06
…to fix/query-network-retry

# Conflicts:
#	Tests/GraphQLAPIKitTests/GraphQLAPIAdapterIntegrationTests.swift
#	Tests/GraphQLAPIKitTests/GraphQL网络ObserverTests.swift
@jmarek41
jmarek41 merged commit 9f93a7b into main Aug 21, 2026
2 checks passed
@jmarek41
jmarek41 deleted the fix/query-network-retry branch August 21, 2026 16:36
注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

2 participants