You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vjrasane
changed the title
DataLoader with a DefaultCache throws key error when attempting to remove key that does not exist
DataLoader with a DefaultCache throws key error when attempting to delete key that does not exist
Jan 17, 2023
dartt0n
added a commit
to dartt0n/strawberry
that referenced
this issue
Jul 11, 2024
Caused by:
https://github.com/strawberry-graphql/strawberry/blame/8498682d0c192e5b940f93928fef0f230918c8c7/strawberry/dataloader.py#L83
In strawberry-graphql version 0.154.0
This can be worked around by providing a custom cache to the dataloader that checks existence before removal.
Upvote & Fund
The text was updated successfully, but these errors were encountered: