nuxt-graphql-client
nuxt-graphql-client copied to clipboard
feat: support graphql subscriptions
This PR adds support for GraphQL subscriptions.
Can be tested by installing the latest edge version via yarn add -D nuxt-graphql-client@edge
Codecov Report
Merging #239 (a8bfa42) into main (453aac0) will decrease coverage by
0.04%. The diff coverage is100.00%.
:exclamation: Current head a8bfa42 differs from pull request most recent head d0a5d85. Consider uploading reports for the commit d0a5d85 to get more accurate results
@@ Coverage Diff @@
## main #239 +/- ##
==========================================
- Coverage 93.70% 93.66% -0.05%
==========================================
Files 6 7 +1
Lines 620 600 -20
Branches 122 124 +2
==========================================
- Hits 581 562 -19
+ Misses 39 38 -1
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/generate.ts | 94.80% <ø> (-0.07%) |
:arrow_down: |
| examples/subscription/nuxt.config.ts | 100.00% <100.00%> (ø) |
|
| src/context.ts | 99.13% <100.00%> (+0.65%) |
:arrow_up: |
| src/module.ts | 89.75% <100.00%> (-0.16%) |
:arrow_down: |
| examples/multi-client/nuxt.config.ts | 100.00% <0.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Hi there! I'm looking for a nuxt3 module for gql
I just noticed https://github.com/Diizzayy/ogql/commit/9f2cf65a8cde6dce189ab687cf97d53ea3250656
Do you have a rough idea of when this will make it here? I'm choosing between @nuxtjs/apollo and nuxt-graphql-client for a platform and it seems you currently maintain both.
I'm also keen to check which has better offline support (i.e. network down but I want to fetch the output of previous queries if they are cached).
Still something open on this one? Maybe we can help?