graphql-dotnet / graphql-dotnet/graphql-client

Adding Caching Support

Open
#51 12 comments 5 reactions 1 assignee Claimed by @deinok View on GitHub
enhancement
Dominant language
C#
Stars
648
Forks
136
PR merge metrics
No merged PRs in 30d

Description

This client seems like a very thin wrapper over a HttpClient using dynamic. It would be nice to add many of the features in the Apollo JavaScript client such as client side caching.

You could use the [`IDistributedCache`](https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.caching.distributed.idistributedcache?view=aspnetcore-2.1) in the [Microsoft.Extensions.Caching.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.Caching.Abstractions/) NuGet package to store cached objects. That package has lots of providers e.g. In-Memory and Redis built for it already.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.