Repository navigation
Refactored UrlType and added UriType - #9106
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a dedicated URI scalar alongside a refactored URL scalar, updating server defaults, StrawberryShake client serialization/codegen, and related docs/tests to reflect the new Uri vs Url semantics.
Changes:
- Add
UriType/URIscalar and map CLRSystem.Urito it by default. - Refactor
UrlType/URLscalar to be absolute-only by default, with an opt-in relative-URI compatibility mode. - Update StrawberryShake serializers/codegen and multiple snapshots/tests/docs to include
UriSerializerand the new scalar names.
Reviewed changes
Copilot reviewed 174 out of 175 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| website/src/docs/hotchocolate/v16/migrating/migrate-from-15-to-16.md | Migration note for Uri/Url scalar mapping |
| website/src/docs/hotchocolate/v16/defining-a-schema/scalars.md | Add Uri scalar entry to docs table |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.Razor.Tests/snapshots/RazorGeneratorTests.Query_And_Mutation.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/StarWarsGeneratorTests.Subscription_With_Default_Names.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/StarWarsGeneratorTests.StarWarsUnionList.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/StarWarsGeneratorTests.StarWarsTypeNameOnUnions.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/StarWarsGeneratorTests.Operation_With_Type_Argument.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/StarWarsGeneratorTests.Operation_With_Leaf_Argument.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/StarWarsGeneratorTests.Interface_With_Fragment_Definition_Two_Models.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/StarWarsGeneratorTests.Interface_With_Default_Names.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/StarWarsGeneratorTests.Generate_StarWarsIntegrationTest.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/StarWarsGeneratorTests.Generate_Client_With_Internal_Access_Modifier.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Schema_With_Spec_Errors.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Schema_With_OneOf_And_Directive_Definition.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Schema_With_OneOf.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Query_With_Nested_Fragments.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.QueryInterference.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.NonNullLists.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.NodeTypenameCollision.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.MultiLineDocumentation.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.LowerCaseScalarArgument.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.IntrospectionQuery.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.HasuraMutation.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Full_Extension_File.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.FieldsWithUnderlineInName.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.EnumWithUnderscorePrefixedValues.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Create_UpdateMembers_Mutation.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Create_Query_With_Skip_Take.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Create_PeopleSearch_From_ActiveDirectory_Schema.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Create_GetFeatsPage.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Create_GetFeatById.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/SchemaGeneratorTests.Create_DataType_Query.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Uuid_Type.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Uri_Type.snap | Snapshot: Uri uses UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.TimeSpan_Not_Detected.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Simple_Custom_Scalar.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Scalars_Are_Correctly_Inferred.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Only_Custom_Scalars.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Custom_Scalar_With_ValueType_RuntimeType_Used_As_Nullable_Input.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Custom_Scalar_With_ValueType_RuntimeType_Fails_If_ValueType_Not_Specified.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Custom_Scalar_With_ValueType_RuntimeType.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Custom_Scalar_With_Unknown_RuntimeType.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Custom_Scalar_With_SerializationType_And_RuntimeType.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Custom_Scalar_With_SerializationType.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Custom_Scalar_With_RuntimeType_ValueType_AsInput.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Custom_Scalar_With_RuntimeType.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Complete_Schema_With_UUID_And_DateTime.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.ByteArray_ScalarType.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Base64String_ScalarType.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Any_Type.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ScalarGeneratorTests.Any_Scalar.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ResultTypeGeneratorTests.Operation_With_NullableData.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ResultTypeGeneratorTests.Operation_With_Complex_Types.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ResultTypeGeneratorTests.Operation_With_Comments.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ResultTypeGeneratorTests.Nested_Entity.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/PersistedOperationGeneratorTests.Simple_Custom_Scalar.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/OperationGeneratorTests.Response_Name_Is_Correctly_Cased.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/OperationGeneratorTests.Operation_With_MultipleOperations.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/OperationGeneratorTests.Nullable_ValueType_Input.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/OperationGeneratorTests.Nullable_List_Input.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/OperationGeneratorTests.NonNullable_ValueType_Input.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/OperationGeneratorTests.NonNullableValueType_WithoutGlobal_Input.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/OperationGeneratorTests.Generate_ChatClient_AllOperations.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/NoStoreStarWarsGeneratorTests.Subscription_With_Default_Names.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/NoStoreStarWarsGeneratorTests.StarWarsUnionList.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/NoStoreStarWarsGeneratorTests.StarWarsTypeNameOnUnions.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/NoStoreStarWarsGeneratorTests.Operation_With_Type_Argument.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/NoStoreStarWarsGeneratorTests.Operation_With_Leaf_Argument.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/NoStoreStarWarsGeneratorTests.Interface_With_Fragment_Definition_Two_Models.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/NoStoreStarWarsGeneratorTests.Interface_With_Default_Names.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/NoStoreStarWarsGeneratorTests.Generate_StarWarsIntegrationTest.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Operation_With_UploadInInputObject.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Operation_With_UploadInDeepInputObject.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Operation_With_UploadAsArg.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Operation_With_LastNonUpload.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Operation_With_FirstNonUpload.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Operation_With_Complex_Arguments.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Operation_With_ComplexInputTypes.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Operation_With_Comments_With_Input_Records.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Operation_With_Comments.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.KeywordCollisions.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/InputGeneratorTests.Input_Type_Fields_Are_Inspected_For_LeafTypes.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ErrorGeneratorTests.Generate_NoErrors.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/ErrorGeneratorTests.Generate_ChatClient_InvalidNullCheck.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityOrIdGeneratorTests.UnionWithNestedObject.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityOrIdGeneratorTests.UnionListInEntity.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityOrIdGeneratorTests.UnionList.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityOrIdGeneratorTests.UnionField.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityOrIdGeneratorTests.NonNullableValueTypeId.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityOrIdGeneratorTests.InterfaceList.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityOrIdGeneratorTests.InterfaceField.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityIdFactoryGeneratorTests.Simple_UUID_Entity.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityIdFactoryGeneratorTests.Simple_NoEntity.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityIdFactoryGeneratorTests.Simple_IdEntity.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityIdFactoryGeneratorTests.Simple_DateTimeOffset_Entity.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityIdFactoryGeneratorTests.Simple_ComplexEntity.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_ChatClient_MapperMapsEntityOnRootCorrectly_With_Records.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_ChatClient_MapperMapsEntityOnRootCorrectly.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_ChatClient_ConnectionNotAnEntity_With_Records.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_ChatClient_ConnectionNotAnEntity.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_BookClient_DataOnly_UnionDataTypes_With_Records.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_BookClient_DataOnly_UnionDataTypes.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_BookClient_DataOnly_InterfaceDataTypes_With_Records.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_BookClient_DataOnly_InterfaceDataTypes.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_BookClient_DataInEntity_UnionDataTypes_With_Records.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/EntityGeneratorTests.Generate_BookClient_DataInEntity_UnionDataTypes.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/DependencyInjectionGeneratorTests.Default_Subscription.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/DependencyInjectionGeneratorTests.Default_Query.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/DependencyInjectionGeneratorTests.Default_Mutation.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/DependencyInjectionGeneratorTests.Default_MultiProfile.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/DependencyInjectionGeneratorTests.Default_InMemory.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/DependencyInjectionGeneratorTests.Default_DifferentTransportMethods.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/snapshots/DependencyInjectionGeneratorTests.Default_Combined.snap | Snapshot: register UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/UploadScalar_InMemoryTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/UploadScalarTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsUnionListTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsTypeNameOnUnionsTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsTypeNameOnInterfacesTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsOnReviewSubNoStoreTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsOnReviewSubGraphQLSSETest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsOnReviewSubCompletionTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsIntrospectionTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsGetHeroWithFragmentIncludeAndSkipDirectiveTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsGetHeroTraitsTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsGetHeroTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsGetFriendsTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsGetFriendsNoStoreTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsGetFriendsDeferredTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsGetFriendsDeferInListTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/MultiProfileTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/LocalTypesTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/EntityIdOrDataTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/AnyScalarDefaultSerializationTest.Client.cs | Generated client: add UriSerializer |
| src/StrawberryShake/CodeGeneration/src/CodeGeneration/Utilities/SchemaHelper.cs | Add URI/URL default scalar infos + aliases |
| src/StrawberryShake/CodeGeneration/src/CodeGeneration/TypeNames.cs | Add UriSerializer typename |
| src/StrawberryShake/CodeGeneration/src/CodeGeneration/TypeInfos.cs | Register UriSerializer runtime type |
| src/StrawberryShake/CodeGeneration/src/CodeGeneration/BuiltInScalarNames.cs | Treat URI as built-in scalar name |
| src/StrawberryShake/CodeGeneration/src/CodeGeneration.CSharp/Generators/DependencyInjectionGenerator.cs | Add UriSerializer registration + alt names |
| src/StrawberryShake/Client/test/Core.Tests/Serialization/UrlSerializerTests.cs | Update expected default type name to URL |
| src/StrawberryShake/Client/test/Core.Tests/Serialization/UriSerializerTests.cs | New tests for UriSerializer |
| src/StrawberryShake/Client/src/Core/ThrowHelper.cs | Add URI parse error + fix URL message spacing |
| src/StrawberryShake/Client/src/Core/Serialization/UrlSerializer.cs | Default scalar name switches to URL |
| src/StrawberryShake/Client/src/Core/Serialization/UriSerializer.cs | New serializer for URI |
| src/StrawberryShake/Client/src/Core/Serialization/BuiltInScalarNames.cs | Add URI/URL constants |
| src/Nitro/CommandLine/src/CommandLine/Generated/ApiClient.Client.cs | Generated client: add UriSerializer |
| src/HotChocolate/MongoDb/src/Data/Filters/Convention/Extensions/MongoDbFilterConventionDescriptorExtensions.cs | Bind Uri to UriOperationFilterInputType |
| src/HotChocolate/Data/test/Data.Filters.Tests/Types/snapshots/ComparableOperationInputTests.Create_Implicit_Operation_Normalized.graphql | Snapshot: URI filter input types |
| src/HotChocolate/Data/test/Data.Filters.Tests/Types/snapshots/ComparableOperationInputTests.Create_Implicit_Operation.graphql | Snapshot: URI filter input types |
| src/HotChocolate/Data/src/Data/Filters/Types/UriOperationFilterInputType.cs | New filter input type for URI |
| src/HotChocolate/Data/src/Data/Filters/Convention/Extensions/FilterConventionDescriptorExtensions.cs | Bind Uri to UriOperationFilterInputType |
| src/HotChocolate/Core/test/Types.Tests/Types/Scalars/UrlTypeTests.cs | Adjust tests for allowRelativeUris default |
| src/HotChocolate/Core/test/Types.Tests/Types/Scalars/UriTypeTests.cs | New tests for UriType |
| src/HotChocolate/Core/test/Types.Json.Tests/FromJsonDirectiveTests.cs | Extend FromJson directive tests with URI |
| src/HotChocolate/Core/src/Types/Types/Scalars/UrlType.cs | Add allowRelativeUris option; default absolute |
| src/HotChocolate/Core/src/Types/Types/Scalars/UriType.cs | New scalar type for URI |
| src/HotChocolate/Core/src/Types/Types/Scalars/Scalars.cs | Map CLR Uri => UriType; register URI |
| src/HotChocolate/Core/src/Types/Types/Scalars/ScalarNames.cs | Add URI scalar name |
| src/HotChocolate/Adapters/test/Adapters.OpenApi.Tests/TestSchema.cs | Add separate Uri vs Url fields |
| src/HotChocolate/Adapters/test/Adapters.OpenApi.Tests/OpenApi/snapshots/OpenApiIntegrationTestBase.OpenApi_Includes_Initial_Routes_NET10_0_Fusion.json | Snapshot: include uri field |
| src/HotChocolate/Adapters/test/Adapters.OpenApi.Tests/OpenApi/snapshots/OpenApiIntegrationTestBase.OpenApi_Includes_Initial_Routes_NET10_0.json | Snapshot: include uri field |
| src/HotChocolate/Adapters/test/Adapters.OpenApi.Tests/Endpoints/HttpEndpointIntegrationTestBase.cs | Add uri value in request test |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/OperationToolFactoryTests.CreateTool_WithNullableVariables_CreatesCorrectSchema_Output.json | Snapshot: include uri schema |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/OperationToolFactoryTests.CreateTool_WithNullableVariables_CreatesCorrectSchema_Input.json | Snapshot: include uri schema |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/OperationToolFactoryTests.CreateTool_WithNonNullableVariables_CreatesCorrectSchema_Output.json | Snapshot: include uri schema |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/OperationToolFactoryTests.CreateTool_WithNonNullableVariables_CreatesCorrectSchema_Input.json | Snapshot: include uri schema |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/OperationToolFactoryTests.CreateTool_WithDefaultedVariables_CreatesCorrectSchema_Output.json | Snapshot: include uri schema |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/OperationToolFactoryTests.CreateTool_WithDefaultedVariables_CreatesCorrectSchema_Input.json | Snapshot: include uri schema |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/IntegrationTestBase.CallTool_GetWithNullableVariables_ReturnsExpectedResult.json | Snapshot: include uri result |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/IntegrationTestBase.CallTool_GetWithNonNullableVariables_ReturnsExpectedResult.json | Snapshot: include uri result |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/IntegrationTestBase.CallTool_GetWithDefaultedVariables_ReturnsExpectedResult.json | Snapshot: include uri result |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/resources/GetWithNullableVariables.graphql | Add URI variable/field |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/resources/GetWithNonNullableVariables.graphql | Add URI variable/field |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/resources/GetWithDefaultedVariables.graphql | Add defaulted URI variable/field |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/TestSchema.cs | Add separate uri vs url args/fields |
| src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/IntegrationTestBase.cs | Include uri in test payloads |
Comments suppressed due to low confidence (1)
src/StrawberryShake/Client/src/Core/Serialization/UrlSerializer.cs:18
UrlSerializerstill parses usingUriKind.RelativeOrAbsolute, which means it accepts relative URIs (e.g. "example.com"). With this PR separatingURI(relative-or-absolute) fromURL(absolute only), consider makingUrlSerializerenforce absolute URIs (e.g.UriKind.Absoluteand/oruri.IsAbsoluteUri) and adjusting tests accordingly so client-side behavior matches the server scalar semantics.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🚀 Fusion Gateway Performance ResultsSimple Composite QueryConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query fragment User on User {
id
username
name
}
fragment Review on Review {
id
body
}
fragment Product on Product {
inStock
name
price
shippingEstimate
upc
weight
}
query TestQuery {
topProducts(first: 5) {
...Product
reviews {
...Review
author {
...User
}
}
}
}Deep Recursion QueryConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query fragment User on User {
id
username
name
}
fragment Review on Review {
id
body
}
fragment Product on Product {
inStock
name
price
shippingEstimate
upc
weight
}
query TestQuery {
users {
...User
reviews {
...Review
product {
...Product
reviews {
...Review
author {
...User
reviews {
...Review
product {
...Product
}
}
}
}
}
}
}
topProducts(first: 5) {
...Product
reviews {
...Review
author {
...User
reviews {
...Review
product {
...Product
}
}
}
}
}
}Variable Batching ThroughputConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query query TestQuery_8f7a46ce_2(
$__fusion_1_upc: ID!
$__fusion_2_price: Long!
$__fusion_2_weight: Long!
) {
productByUpc(upc: $__fusion_1_upc) {
inStock
shippingEstimate(weight: $__fusion_2_weight, price: $__fusion_2_price)
}
}Variables (5 sets batched in single request) [
{ "__fusion_1_upc": "1", "__fusion_2_price": 899, "__fusion_2_weight": 100 },
{ "__fusion_1_upc": "2", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 },
{ "__fusion_1_upc": "3", "__fusion_2_price": 15, "__fusion_2_weight": 20 },
{ "__fusion_1_upc": "4", "__fusion_2_price": 499, "__fusion_2_weight": 100 },
{ "__fusion_1_upc": "5", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 }
]No baseline data available for comparison. Run 21897245654 • Commit be00b7f • Wed, 11 Feb 2026 08:23:06 GMT |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 174 out of 175 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🚀 Fusion Gateway Performance ResultsSimple Composite QueryConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query fragment User on User {
id
username
name
}
fragment Review on Review {
id
body
}
fragment Product on Product {
inStock
name
price
shippingEstimate
upc
weight
}
query TestQuery {
topProducts(first: 5) {
...Product
reviews {
...Review
author {
...User
}
}
}
}Deep Recursion QueryConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query fragment User on User {
id
username
name
}
fragment Review on Review {
id
body
}
fragment Product on Product {
inStock
name
price
shippingEstimate
upc
weight
}
query TestQuery {
users {
...User
reviews {
...Review
product {
...Product
reviews {
...Review
author {
...User
reviews {
...Review
product {
...Product
}
}
}
}
}
}
}
topProducts(first: 5) {
...Product
reviews {
...Review
author {
...User
reviews {
...Review
product {
...Product
}
}
}
}
}
}Variable Batching ThroughputConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query query TestQuery_8f7a46ce_2(
$__fusion_1_upc: ID!
$__fusion_2_price: Long!
$__fusion_2_weight: Long!
) {
productByUpc(upc: $__fusion_1_upc) {
inStock
shippingEstimate(weight: $__fusion_2_weight, price: $__fusion_2_price)
}
}Variables (5 sets batched in single request) [
{ "__fusion_1_upc": "1", "__fusion_2_price": 899, "__fusion_2_weight": 100 },
{ "__fusion_1_upc": "2", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 },
{ "__fusion_1_upc": "3", "__fusion_2_price": 15, "__fusion_2_weight": 20 },
{ "__fusion_1_upc": "4", "__fusion_2_price": 499, "__fusion_2_weight": 100 },
{ "__fusion_1_upc": "5", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 }
]No baseline data available for comparison. Run 21897740246 • Commit d85ff35 • Wed, 11 Feb 2026 08:41:53 GMT |
🚀 Fusion Gateway Performance ResultsSimple Composite QueryConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query fragment User on User {
id
username
name
}
fragment Review on Review {
id
body
}
fragment Product on Product {
inStock
name
price
shippingEstimate
upc
weight
}
query TestQuery {
topProducts(first: 5) {
...Product
reviews {
...Review
author {
...User
}
}
}
}Deep Recursion QueryConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query fragment User on User {
id
username
name
}
fragment Review on Review {
id
body
}
fragment Product on Product {
inStock
name
price
shippingEstimate
upc
weight
}
query TestQuery {
users {
...User
reviews {
...Review
product {
...Product
reviews {
...Review
author {
...User
reviews {
...Review
product {
...Product
}
}
}
}
}
}
}
topProducts(first: 5) {
...Product
reviews {
...Review
author {
...User
reviews {
...Review
product {
...Product
}
}
}
}
}
}Variable Batching ThroughputConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query query TestQuery_8f7a46ce_2(
$__fusion_1_upc: ID!
$__fusion_2_price: Long!
$__fusion_2_weight: Long!
) {
productByUpc(upc: $__fusion_1_upc) {
inStock
shippingEstimate(weight: $__fusion_2_weight, price: $__fusion_2_price)
}
}Variables (5 sets batched in single request) [
{ "__fusion_1_upc": "1", "__fusion_2_price": 899, "__fusion_2_weight": 100 },
{ "__fusion_1_upc": "2", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 },
{ "__fusion_1_upc": "3", "__fusion_2_price": 15, "__fusion_2_weight": 20 },
{ "__fusion_1_upc": "4", "__fusion_2_price": 499, "__fusion_2_weight": 100 },
{ "__fusion_1_upc": "5", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 }
]No baseline data available for comparison. Run 21898429530 • Commit de25c40 • Wed, 11 Feb 2026 09:07:09 GMT |
🚀 Fusion Gateway Performance ResultsSimple Composite QueryConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query fragment User on User {
id
username
name
}
fragment Review on Review {
id
body
}
fragment Product on Product {
inStock
name
price
shippingEstimate
upc
weight
}
query TestQuery {
topProducts(first: 5) {
...Product
reviews {
...Review
author {
...User
}
}
}
}Deep Recursion QueryConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query fragment User on User {
id
username
name
}
fragment Review on Review {
id
body
}
fragment Product on Product {
inStock
name
price
shippingEstimate
upc
weight
}
query TestQuery {
users {
...User
reviews {
...Review
product {
...Product
reviews {
...Review
author {
...User
reviews {
...Review
product {
...Product
}
}
}
}
}
}
}
topProducts(first: 5) {
...Product
reviews {
...Review
author {
...User
reviews {
...Review
product {
...Product
}
}
}
}
}
}Variable Batching ThroughputConstant Load (50 VUs)
📊 Response Time Metrics
Ramping Load (0→50→500→50 VUs)
📊 Response Time Metrics
Executed Query query TestQuery_8f7a46ce_2(
$__fusion_1_upc: ID!
$__fusion_2_price: Long!
$__fusion_2_weight: Long!
) {
productByUpc(upc: $__fusion_1_upc) {
inStock
shippingEstimate(weight: $__fusion_2_weight, price: $__fusion_2_price)
}
}Variables (5 sets batched in single request) [
{ "__fusion_1_upc": "1", "__fusion_2_price": 899, "__fusion_2_weight": 100 },
{ "__fusion_1_upc": "2", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 },
{ "__fusion_1_upc": "3", "__fusion_2_price": 15, "__fusion_2_weight": 20 },
{ "__fusion_1_upc": "4", "__fusion_2_price": 499, "__fusion_2_weight": 100 },
{ "__fusion_1_upc": "5", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 }
]No baseline data available for comparison. Run 21899063044 • Commit c04d9b1 • Wed, 11 Feb 2026 09:29:23 GMT |
Summary of the changes (Less than 80 chars)