ChilliCream / ChilliCream/graphql-platform
Configure JSON serialization options
Nobody has claimed this yet.
- 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?
I would like to pass custom JsonSerializerOptions (JsonIgnoreCondition.WhenWritingNull) for GraphQL requests serializer. As I understand, that's currently is not possible.
I use StrawberryShake.Transport.Http v15.1.11
The solution you'd like
Ability to provide custom JsonSerializerOptions during client DI registration.
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.
Research direction
Start by locating the Strawberry Shake.Transport.Http client DI registration and the GraphQL request serializer. Verify how custom JsonSerializerOptions, including JsonIgnoreCondition.WhenWritingNull, can be supplied during registration and confirm that the options affect serialized GraphQL requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100