Conversation
Bump HotChocolate.* 15.1.14 -> 16.3.0. Port MuiValueType to the HC16 ScalarType coercion model: CoerceInputLiteral(IValueNode) + CoerceInputValue(JsonElement) for input, OnCoerceOutputValue(ResultElement) + OnValueToLiteral for output, plus SerializationType and IsValueCompatible (replacing the removed ParseLiteral/ParseValue/TrySerialize/IsInstanceOfType). src builds clean on HC16. Runtime behaviour + the snapshot test suite are not yet re-verified against HC16 (SDL snapshots will need regenerating). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Follows the src HC16 port (MuiValueType). Makes the full solution green on HC16.
- EF Core 9.0.0 -> 10.0.0 (net10; matches HC16's transitive EF10 — fixes a runtime
MissingMethodException from mixed EF Abstractions/Relational assemblies)
- Test suite ported to HC16 API:
- schema.Print() -> schema.ToString() for the SDL snapshot
- drop SchemaOptions.EnableOneOf (OneOf is on by default in HC16)
- IOperationResult removed -> ClientQueryResult.Incremental retyped to object
- result data is no longer indexable -> read fields via result.ToJson() (InputValue helper)
- Errors is empty (not null) on success in HC16: BeNull() -> BeNullOrEmpty()
- snapshot result.ToJson() instead of the raw IExecutionResult (the HC16 result object
graph is cyclic and OOMs Newtonsoft)
- ConvertFilterInput passes the enum's GraphQL name (HC16 coerces enums by name, not int)
- Regenerated SDL + result snapshots for HC16
All 92 tests green on HC16 (SQLite).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
cliedeman
added a commit
that referenced
this pull request
Jul 2, 2026
- Bump EF Core + ASP.NET Core test packages 9.0.0 -> 10.0.0 (aligns with the already-net10 TFM + SDK 10.0.201; verified HotChocolate 15 works on EF 10) - README: add a NuGet version badge; .NET badge + 'targets' note net9.0 -> net10.0 HotChocolate stays 15 on main — the HC16 upgrade is PR #3. All 92 tests green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Upgrade
Stackworx.Hotchocolate.MuiDataGridfrom HotChocolate 15 to HotChocolate 16.3.0 (and EF Core 9 → 10 on .NET 10).Changes
Source
MuiValueTypeto HC16's redesignedScalarTypecoercion model:CoerceInputLiteral(IValueNode)+CoerceInputValue(JsonElement)for input,OnCoerceOutputValue(ResultElement)+OnValueToLiteralfor output, plusSerializationTypeandIsValueCompatible— replacing the removedParseLiteral/ParseValue/TrySerialize/IsInstanceOfType.HotChocolate.*15.1.14 → 16.3.0.Dependencies
MissingMethodExceptionfrom mixed EFAbstractions/Relationalassemblies).Tests
schema.Print()→schema.ToString()for the SDL snapshot.SchemaOptions.EnableOneOf(OneOf is on by default in HC16).result.ToJson()— the raw HC16 result object graph is cyclic and OOMs Newtonsoft snapshotting.Errors.Should().BeNull()→BeNullOrEmpty()(HC16 returns an empty, not null, error collection on success).ConvertFilterInputpasses the enum's GraphQL name (HC16 coerces enums by name, not int).Verification
All 92 tests green on HC16 (SQLite).
🤖 Generated with Claude Code