graphql-tools icon indicating copy to clipboard operation
graphql-tools copied to clipboard

fix(stitch): computed fields resolving via a root field returning an interface

Open ardatan opened this issue 1 year ago • 4 comments

Support computed fields resolved via a root field returning an interface When a computed field returning an object, and that field is resolved via an interface, the computed field will now be resolved correctly.

ardatan avatar May 14 '24 11:05 ardatan

🦋 Changeset detected

Latest commit: 0e154e65cb9e69b39c05eac324ed43aaf20ce886

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@graphql-tools/stitch Patch
federation-benchmark Patch

Not sure what this means? Click here to learn what changesets are.

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

changeset-bot[bot] avatar May 14 '24 11:05 changeset-bot[bot]

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-tools/stitch 9.2.9-alpha-20240516084910-0e154e65cb9e69b39c05eac324ed43aaf20ce886 npm ↗︎ unpkg ↗︎

github-actions[bot] avatar May 14 '24 11:05 github-actions[bot]

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.........................: 100.00% ✓ 332       ✗ 0  
     data_received..................: 39 MB   3.8 MB/s
     data_sent......................: 142 kB  14 kB/s
     http_req_blocked...............: avg=3.88µs   min=1.96µs   med=2.55µs   max=174.34µs p(90)=3.78µs   p(95)=3.99µs  
     http_req_connecting............: avg=725ns    min=0s       med=0s       max=120.44µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=56.32ms  min=47.68ms  med=52.3ms   max=149.27ms p(90)=62.13ms  p(95)=90.34ms 
       { expected_response:true }...: avg=56.32ms  min=47.68ms  med=52.3ms   max=149.27ms p(90)=62.13ms  p(95)=90.34ms 
     http_req_failed................: 0.00%   ✓ 0         ✗ 166
     http_req_receiving.............: avg=133.73µs min=100.75µs med=128.58µs max=485.61µs p(90)=146.94µs p(95)=152.97µs
     http_req_sending...............: avg=25.42µs  min=18.97µs  med=24.29µs  max=149.96µs p(90)=29.67µs  p(95)=35.08µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=56.16ms  min=47.51ms  med=52.15ms  max=148.73ms p(90)=61.95ms  p(95)=90.16ms 
     http_reqs......................: 166     16.546302/s
     iteration_duration.............: avg=60.41ms  min=51.24ms  med=56.31ms  max=152.99ms p(90)=66.02ms  p(95)=94.13ms 
     iterations.....................: 166     16.546302/s
     vus............................: 1       min=1       max=1
     vus_max........................: 1       min=1       max=1

github-actions[bot] avatar May 14 '24 11:05 github-actions[bot]

💻 Website Preview

The latest changes are available as preview in: https://e6ee4cb0.graphql-tools.pages.dev

github-actions[bot] avatar May 14 '24 11:05 github-actions[bot]