dotansimha / graphql-yoga

🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.
https://the-guild.dev/graphql/yoga-server
MIT License
8.21k stars 569 forks source link

Remove `@apollo/gateway` reference #3334

Closed ardatan closed 3 months ago

ardatan commented 3 months ago

We don't use @apollo/gateway or the Envelop plugin anymore.

changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: fce9efdac61b3a31418c50ef74eb1cff307bb3b6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 3 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://5d2d1ec6.graphql-yoga.pages.dev](https://5d2d1ec6.graphql-yoga.pages.dev)
github-actions[bot] commented 3 months ago

✅ Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}

     checks.......................................: 100.00% ✓ 427130      ✗ 0     
     data_received................................: 1.7 GB  15 MB/s
     data_sent....................................: 86 MB   719 kB/s
     http_req_blocked.............................: avg=1.38µs   min=990ns    med=1.26µs   max=247.21µs p(90)=1.78µs   p(95)=1.98µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=154.56µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=354.23µs min=206.44µs med=317.74µs max=24.45ms  p(90)=458.06µs p(95)=479.04µs
       { expected_response:true }.................: avg=354.23µs min=206.44µs med=317.74µs max=24.45ms  p(90)=458.06µs p(95)=479.04µs
     ✓ { mode:graphql-jit }.......................: avg=277.4µs  min=206.44µs med=256.5µs  max=18.09ms  p(90)=287.12µs p(95)=299.07µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=479.8µs  min=394.75µs med=454.41µs max=9.13ms   p(90)=498.99µs p(95)=529.82µs
     ✓ { mode:graphql-response-cache }............: avg=335.74µs min=269.22µs med=316.79µs max=6.21ms   p(90)=350.5µs  p(95)=361.21µs
     ✓ { mode:graphql }...........................: avg=360.77µs min=269.52µs med=326.34µs max=24.45ms  p(90)=374.93µs p(95)=411.87µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 213565
     http_req_receiving...........................: avg=33.06µs  min=16.96µs  med=32.85µs  max=813.2µs  p(90)=38.06µs  p(95)=40.33µs 
     http_req_sending.............................: avg=7.66µs   min=5.78µs   med=6.85µs   max=495.62µs p(90)=10.29µs  p(95)=10.97µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=313.5µs  min=180.55µs med=277.91µs max=24.3ms   p(90)=417.03µs p(95)=435.61µs
     http_reqs....................................: 213565  1779.689615/s
     iteration_duration...........................: avg=557.27µs min=382.46µs med=516.12µs max=25.09ms  p(90)=665.7µs  p(95)=692.51µs
     iterations...................................: 213565  1779.689615/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2