ChilliCream / ChilliCream/graphql-platform
Provide HttpStatusCode in IOperationResult
Open
@michaelstaib is already working on this.
Since Feb 23, 2022.
🌶️ strawberry shake
🙋 good first issue
- Dominant language
- C#
- Stars
- 5.8k
- Forks
- 810
- Avg merge
- 15h 39m
- Merged PRs (30d)
- 98
Description
Is your feature request related to a problem?
I'm using StrawberryShake to test our API and middleware. I would like to assert specific return codes. Currently, StrawberryShake does not provide any way to access the HttpStatusCode of HTTP response.
The solution you'd like
As IOperationResult is meant to be transport agnostic, I would expect this value not to be defined as property. IOperationResult.Extensions or IOperationResult.ContextData can be used for storing this value, with appropriate key.
Product
Strawberry Shake
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.