ChilliCream / graphql-platform

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
https://chillicream.com
MIT License
5.26k stars 746 forks source link

StrawberryShake result has empty Extensions #4956

Closed nightroman closed 1 year ago

nightroman commented 2 years ago

Is there an existing issue for this?

Describe the bug

The property Extensions of ExecuteAsync result seems to be always empty even if a GraphQL server returns extension data.

Steps to reproduce

  1. Use the attached solution
  2. Build and run

Actual results

StrawberryShake has no extension data:

StrawberryShake Extensions.Count = 0
HttpClient extensions = {
  "requestId": "de6db3fd-3013-45c6-a38d-c58e72d99110"
}

Expected results

StrawberryShake has some extension data:

StrawberryShake Extensions.Count = 1
HttpClient extensions = {
  "requestId": "de6db3fd-3013-45c6-a38d-c58e72d99110"
}

Additional Context?

StrawberryShakeEmptyExtensions.zip

Product

Strawberry Shake

Version

12.7.0

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

nightroman commented 2 years ago

same problem in 12.15.0

anton-gogolev commented 1 year ago

Doesn't seem to work with StrawberryShake.Server 13.0.5 either.

nightroman commented 1 year ago

@anton-gogolev Yep, same here. This is actually a pain. We do use extensions (e.g. for request ids, etc.)

nightroman commented 1 year ago

Fixed in 13.2.