Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent error after hot reload: Operation is not valid due to the current state of the object. (DateTimeType) #1227

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

myieye
Copy link
Contributor

@myieye myieye commented Nov 11, 2024

Over the months we've seen Hot Chocolate start throwing exceptions after a hot reload.

Today, this was frustrating me again, so I did some googling and happened to stumble upon this comment, which seems to have fixed it. 🥳

…rent state of the object. (DateTimeType)

Stumbled upon this solution here: ChilliCream/graphql-platform#2985 (comment)
@myieye myieye requested a review from hahn-kev November 11, 2024 15:44
Copy link

github-actions bot commented Nov 11, 2024

C# Unit Tests

75 tests  ±0   75 ✅ ±0   5s ⏱️ ±0s
13 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit e63f8fd. ± Comparison against base commit 85f9555.

♻️ This comment has been updated with latest results.

Copy link

UI unit Tests

12 tests   12 ✅  0s ⏱️
 4 suites   0 💤
 1 files     0 ❌

Results for commit e63f8fd.

@hahn-kev hahn-kev merged commit 4cfc4b5 into develop Nov 12, 2024
14 checks passed
@hahn-kev hahn-kev deleted the bug/graphql-breaks-after-hot-reload branch November 12, 2024 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants