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
thrownewInvalidConfigurationException($"Controllers with overlapping route templates detected: {controller.ControllerType.FullName}");
94
+
thrownewInvalidConfigurationException(
95
+
$"Cannot register '{controller.ControllerType.FullName}' for template '{template}' because '{_registeredControllerNameByTemplate[template]}' was already registered for this template.");
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/Controllers/AtomicConstrainedOperationsControllerTests.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ public AtomicConstrainedOperationsControllerTests(ExampleIntegrationTestContext<
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/Creating/AtomicCreateResourceTests.cs
+2-1
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
usingFluentAssertions;
8
8
usingFluentAssertions.Extensions;
9
9
usingJsonApiDotNetCore.Serialization.Objects;
10
+
usingJsonApiDotNetCoreExample.Controllers;
10
11
usingJsonApiDotNetCoreExampleTests.Startups;
11
12
usingMicrosoft.EntityFrameworkCore;
12
13
usingTestBuildingBlocks;
@@ -23,7 +24,7 @@ public AtomicCreateResourceTests(ExampleIntegrationTestContext<TestableStartup<O
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/Creating/AtomicCreateResourceWithClientGeneratedIdTests.cs
+2-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
usingFluentAssertions;
6
6
usingJsonApiDotNetCore.Configuration;
7
7
usingJsonApiDotNetCore.Serialization.Objects;
8
+
usingJsonApiDotNetCoreExample.Controllers;
8
9
usingJsonApiDotNetCoreExampleTests.Startups;
9
10
usingMicrosoft.Extensions.DependencyInjection;
10
11
usingTestBuildingBlocks;
@@ -23,7 +24,7 @@ public AtomicCreateResourceWithClientGeneratedIdTests(
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/Creating/AtomicCreateResourceWithToManyRelationshipTests.cs
+2-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
usingSystem.Threading.Tasks;
6
6
usingFluentAssertions;
7
7
usingJsonApiDotNetCore.Serialization.Objects;
8
+
usingJsonApiDotNetCoreExample.Controllers;
8
9
usingJsonApiDotNetCoreExampleTests.Startups;
9
10
usingMicrosoft.EntityFrameworkCore;
10
11
usingTestBuildingBlocks;
@@ -23,7 +24,7 @@ public AtomicCreateResourceWithToManyRelationshipTests(
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/Creating/AtomicCreateResourceWithToOneRelationshipTests.cs
+2-1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
usingSystem.Threading.Tasks;
7
7
usingFluentAssertions;
8
8
usingJsonApiDotNetCore.Serialization.Objects;
9
+
usingJsonApiDotNetCoreExample.Controllers;
9
10
usingJsonApiDotNetCoreExampleTests.Startups;
10
11
usingMicrosoft.EntityFrameworkCore;
11
12
usingNewtonsoft.Json;
@@ -25,7 +26,7 @@ public AtomicCreateResourceWithToOneRelationshipTests(
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/Deleting/AtomicDeleteResourceTests.cs
+2-1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
usingSystem.Threading.Tasks;
7
7
usingFluentAssertions;
8
8
usingJsonApiDotNetCore.Serialization.Objects;
9
+
usingJsonApiDotNetCoreExample.Controllers;
9
10
usingJsonApiDotNetCoreExampleTests.Startups;
10
11
usingMicrosoft.EntityFrameworkCore;
11
12
usingTestBuildingBlocks;
@@ -22,7 +23,7 @@ public AtomicDeleteResourceTests(ExampleIntegrationTestContext<TestableStartup<O
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/Links/AtomicRelativeLinksWithNamespaceTests.cs
+3-2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
usingFluentAssertions;
6
6
usingJsonApiDotNetCore.Resources;
7
7
usingJsonApiDotNetCore.Serialization.Objects;
8
+
usingJsonApiDotNetCoreExample.Controllers;
8
9
usingJsonApiDotNetCoreExampleTests.Startups;
9
10
usingMicrosoft.Extensions.DependencyInjection;
10
11
usingTestBuildingBlocks;
@@ -22,10 +23,10 @@ public AtomicRelativeLinksWithNamespaceTests(
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/Mixed/MaximumOperationsPerRequestTests.cs
+2-1
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
usingFluentAssertions;
6
6
usingJsonApiDotNetCore.Configuration;
7
7
usingJsonApiDotNetCore.Serialization.Objects;
8
+
usingJsonApiDotNetCoreExample.Controllers;
8
9
usingJsonApiDotNetCoreExampleTests.Startups;
9
10
usingMicrosoft.Extensions.DependencyInjection;
10
11
usingTestBuildingBlocks;
@@ -21,7 +22,7 @@ public MaximumOperationsPerRequestTests(ExampleIntegrationTestContext<TestableSt
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/ModelStateValidation/AtomicModelStateValidationTests.cs
+2-1
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
usingSystem.Threading.Tasks;
4
4
usingFluentAssertions;
5
5
usingJsonApiDotNetCore.Serialization.Objects;
6
+
usingJsonApiDotNetCoreExample.Controllers;
6
7
usingJsonApiDotNetCoreExampleTests.Startups;
7
8
usingMicrosoft.EntityFrameworkCore;
8
9
usingTestBuildingBlocks;
@@ -20,7 +21,7 @@ public AtomicModelStateValidationTests(ExampleIntegrationTestContext<ModelStateV
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/QueryStrings/AtomicQueryStringTests.cs
+4-2
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
usingJsonApiDotNetCore.Configuration;
9
9
usingJsonApiDotNetCore.Resources;
10
10
usingJsonApiDotNetCore.Serialization.Objects;
11
+
usingJsonApiDotNetCoreExample.Controllers;
11
12
usingJsonApiDotNetCoreExampleTests.Startups;
12
13
usingMicrosoft.AspNetCore.Authentication;
13
14
usingMicrosoft.Extensions.DependencyInjection;
@@ -27,10 +28,11 @@ public AtomicQueryStringTests(ExampleIntegrationTestContext<TestableStartup<Oper
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/ResourceDefinitions/AtomicSparseFieldSetResourceDefinitionTests.cs
+3-2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
usingFluentAssertions;
6
6
usingJsonApiDotNetCore.Resources;
7
7
usingJsonApiDotNetCore.Serialization.Objects;
8
+
usingJsonApiDotNetCoreExample.Controllers;
8
9
usingJsonApiDotNetCoreExampleTests.Startups;
9
10
usingMicrosoft.Extensions.DependencyInjection;
10
11
usingTestBuildingBlocks;
@@ -22,10 +23,10 @@ public AtomicSparseFieldSetResourceDefinitionTests(ExampleIntegrationTestContext
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreExampleTests/IntegrationTests/AtomicOperations/Transactions/AtomicTransactionConsistencyTests.cs
+3-2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
usingFluentAssertions;
6
6
usingJsonApiDotNetCore.Configuration;
7
7
usingJsonApiDotNetCore.Serialization.Objects;
8
+
usingJsonApiDotNetCoreExample.Controllers;
8
9
usingJsonApiDotNetCoreExampleTests.Startups;
9
10
usingMicrosoft.EntityFrameworkCore;
10
11
usingMicrosoft.Extensions.DependencyInjection;
@@ -22,10 +23,10 @@ public AtomicTransactionConsistencyTests(ExampleIntegrationTestContext<TestableS
0 commit comments