graphql-platform
graphql-platform copied to clipboard
HotChocolate.Caching 13.9.0 returns empty response
Product
Hot Chocolate
Version
13.9.0
Link to minimal reproduction
https://github.com/kiangkuang/HotChocolateDemo/tree/13.9
Steps to reproduce
- Clone project
- Run project and query with
query { book { title } }
What is expected?
Response with cache control headers and query result, like in version 13.8.1
What is actually happening?
Response with cache control headers but response is empty
Relevant log output
No response
Additional context
No response
I'm able to reproduce this. Looking into it.
This seems to have been broken since #6844. The snapshots even shows us that it's broken 😞 https://github.com/ChilliCream/graphql-platform/pull/6844/files#diff-2803ba1ef05352c4221908b033e53e6563c564873702b5ced27ddd6b495f0f5d
Same probleme here. I use: .AddCacheControl() .ModifyCacheControlOptions(o => o.DefaultMaxAge = 60_000) .UseQueryCachePipeline()
HotChocolate.AspNetCore - 13.9.3 HotChocolate.Caching - 13.9.3
@tobias-tengler is this fixed? What is the issue here?
This right here still needs to be addressed: https://github.com/ChilliCream/graphql-platform/pull/7057#discussion_r1564926829 It probably needs some more considerations. Would be great if you could take a look :)
The problem still persists in the version 13.9.7
I am using HotChocolate.AspNetCore - 13.9.12, HotChocolate.Caching - 13.9.12 still facing same issue
Program.cs .AddGraphQLServer() .AllowIntrospection(false) .AddAuthorization() .AddFiltering() .AddProjections() .AddQueryType<Query>() .AddTypeExtension<QueryExtended>() .AddSorting() .AddCacheControl() .UseQueryCachePipeline() .InitializeOnStartup();
@keevee1988 13.9.12 does not include the merged fix yet, you can try waiting for the next release
@keevee1988 13.9.12 does not include the merged fix yet, you can try waiting for the next release
Thank you for the update