ChilliCream / ChilliCream/graphql-platform

Ability to override StrawberryShake.IEntityIdSerializer Client implementation (.net)

Open
#5,084 0 comments 0 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

Is your feature request related to a problem?

Yes, the server we are communicating with is sending null values when it's specification says otherwise. We have no control over this. When the null id is hit, it throws an exception and halting the full parsing.

The solution you'd like

The ability to either override the StrawberryShake.IEntityIdSerializer to add exception handling, or have the generated .net code exclude entities that throw an exception

Product

Strawberry Shake

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 by locating StrawberryShake.IEntityIdSerializer and the generated .NET parsing path that handles null IDs. Determine whether the intended behavior is an overridable serializer or exclusion of entities whose IDs fail. Done means null IDs no longer halt full parsing and the chosen behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.