Skip to content

Fix #6871 detect conflicting inferred paging connection types#9259

Open
michaelstaib wants to merge 1 commit intomainfrom
mst/issue-6871
Open

Fix #6871 detect conflicting inferred paging connection types#9259
michaelstaib wants to merge 1 commit intomainfrom
mst/issue-6871

Conversation

@michaelstaib
Copy link
Copy Markdown
Member

Fixes #6871

Summary

  • adds Issue6871Tests to reproduce conflicting inferred FriendsConnection configuration across two fields
  • validates inferred/explicit named connection type signatures during schema construction
  • throws a schema error when the same connection type name is reused with conflicting node type or paging-shape flags (IncludeTotalCount / IncludeNodesField)

Test commands and results

  • dotnet test src/HotChocolate/Core/test/Types.CursorPagination.Tests/HotChocolate.Types.CursorPagination.Tests.csproj --filter "FullyQualifiedName~Issue6871Tests" --nologo
    • Passed on net8.0, net9.0, net10.0
  • dotnet test src/HotChocolate/Core/test/Types.CursorPagination.Tests/HotChocolate.Types.CursorPagination.Tests.csproj --filter "FullyQualifiedName~Issue6871Tests|FullyQualifiedName~IntegrationTests.Explicit_ConnectionName|FullyQualifiedName~IntegrationTests.Infer_ConnectionName_From_Field" --nologo
    • Passed on net8.0, net9.0, net10.0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 27, 2026

Fusion Gateway Performance Results

Simple Composite Query

Req/s Err%
Constant 2 (50 VUs) 3321.42 0.00%
Ramping 2 (0-500-0 VUs) 3828.48 0.00%
Response Times
Min Med Avg P90 P95 Max
Constant 2 1.10ms 12.11ms 14.78ms 24.10ms 33.30ms 259.90ms
Ramping 2 1.29ms 51.97ms 57.31ms 99.99ms 142.73ms 285.33ms

Deep Recursion Query

Req/s Err%
Constant 2 (50 VUs) 767.75 0.00%
Ramping 2 (0-500-0 VUs) 915.17 0.00%
Response Times
Min Med Avg P90 P95 Max
Constant 2 9.44ms 56.20ms 62.84ms 80.03ms 98.67ms 814.37ms
Ramping 2 2.90ms 208.02ms 225.83ms 459.98ms 514.36ms 988.16ms

Variable Batching Throughput

Req/s Err%
Constant 2 (50 VUs) 7080.59 0.00%
Ramping 2 (0-500-0 VUs) 5798.86 0.00%
Response Times
Min Med Avg P90 P95 Max
Constant 2 0.11ms 6.47ms 6.98ms 11.64ms 15.26ms 47.97ms
Ramping 2 0.14ms 34.80ms 39.64ms 72.79ms 105.07ms 232.25ms

Runner 2 = benchmarking-2

Run 22495833831 • Commit 3a5594d • Fri, 27 Feb 2026 17:13:11 GMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conflict with mismatching connections with same name

1 participant