ChilliCream / ChilliCream/graphql-platform

Get HTTP Response Headers of GraphQL Request

Open
#6,788 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🌶️ strawberry shake
Dominant language
C#
Stars
5.8k
Forks
810
Avg merge
15h 39m
Merged PRs (30d)
98

Description

Product

Strawberry Shake

Is your feature request related to a problem?

The 3rd-party GraphQL API we use returns the headers x-ratelimit-limit, x-ratelimit-remaining, and x-ratelimit-reset.

I am unable to access those headers in the IOperationResult<>

The solution you'd like

I would like to be able to access those headers in IOperationResult<>.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the Strawberry Shake IOperationResult<> entry point and trace how the GraphQL request handles its HTTP response. Determine how the x-ratelimit-limit, x-ratelimit-remaining, and x-ratelimit-reset headers could be exposed, then verify that callers can access them through IOperationResult<>.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, graphql
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.