nuxt-graphql-client icon indicating copy to clipboard operation
nuxt-graphql-client copied to clipboard

feat: support graphql subscriptions

Open Diizzayy opened this issue 3 years ago • 3 comments

This PR adds support for GraphQL subscriptions.

Can be tested by installing the latest edge version via yarn add -D nuxt-graphql-client@edge

Diizzayy avatar Oct 26 '22 01:10 Diizzayy

Codecov Report

Merging #239 (a8bfa42) into main (453aac0) will decrease coverage by 0.04%. The diff coverage is 100.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

codecov[bot] avatar Oct 26 '22 01:10 codecov[bot]

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).

darvids0n avatar Jul 18 '23 02:07 darvids0n

Still something open on this one? Maybe we can help?

Clex1o1 avatar Aug 30 '23 10:08 Clex1o1