Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preview clients #70

Merged
merged 1 commit into from
Aug 18, 2024
Merged

Add preview clients #70

merged 1 commit into from
Aug 18, 2024

Conversation

ogaclejapan
Copy link
Contributor

Provides the ability to preview specific queries and mutations for composable previews.

Provides the ability to preview specific queries and mutations for composable previews.
@ogaclejapan ogaclejapan added the enhancement New feature or request label Aug 18, 2024
@ogaclejapan ogaclejapan merged commit 127e4c4 into main Aug 18, 2024
1 check passed
@ogaclejapan ogaclejapan deleted the preview-client branch August 18, 2024 07:47
ogaclejapan added a commit that referenced this pull request Aug 24, 2024
Reverted the `XxxRef` implementation from an extension function back to an interface-based function due to unexpected
behavior when combining `PreviewClient` for Compose with `QueryCachingStrategy.NetworkFirst`. By reverting to an
interface-based function, PreviewClient can handle the `resume` function properly, ensuring expected behavior across all
combinations.

refs: #70
ogaclejapan added a commit that referenced this pull request Aug 25, 2024
With the enhancement of preview and test implementations, more APIs now accept `UniqueId` types as
arguments. Associating the ID definitions with a companion object helps leverage these features more effectively.

refs: #63, #70
ogaclejapan added a commit that referenced this pull request Aug 31, 2024
Aligning PreviewClient implementation and naming reduces cognitive load.

refs: #63, #70
@github-actions github-actions bot mentioned this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant