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
if(schemaDefinitionisObjectSchema{IsJsonFileResult: not null})
207
205
return;
208
206
}
209
207
210
-
Logger.LogError("When using the @FileResult Json option, the output contract should have the '$isJsonFileResult' property set to true",location);
208
+
Logger.LogError("When using the @FileResult Json option, the output contract should have the '$isJsonFileResult' property set to true",definition.ResultType.Location);
Copy file name to clipboardExpand all lines: tests/Dibix.Sdk.Tests/Resources/CodeGeneration/Endpoint_WithValidationErrors_Error.txt
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
One or more errors occured during code generation:
2
+
Tests\Syntax\dbx_tests_syntax_fileresultjson_gridresult_merge_error.sql(2,21,2,21):error:When using the @FileResult Json option, the output contract should have the '$isJsonFileResult' property set to true
2
3
Tests\Syntax\dbx_tests_syntax_singleconcreteresult_missingcolumn.sql(4,12,4,12):error:Property 'ImageUrl' on type 'Dibix.Sdk.Tests.DomainModel.GenericContract' not mapped
Endpoints\GenericEndpointWithErrors.json(6,18,6,18):error:Location of parameter 'password' cannot be inferred. Please declare the source of the parameter.
@@ -19,6 +20,10 @@ Endpoints\GenericEndpointWithErrors.json(109,18,109,18):error:Location of parame
19
20
Endpoints\GenericEndpointWithErrors.json(10,19,10,19):error:Source 'ENV' does not support property 'MachinePassword'
20
21
Endpoints\GenericEndpointWithErrors.json(11,21,11,21):error:Source 'CLAIM' does not support property 'None'
21
22
Endpoints\GenericEndpointWithErrors.json(16,21,16,21):error:The parameter 'wtf' is a path parameter, therefore cannot be read using the 'QUERY' source
23
+
Contracts\Request.json(3,6,3,6):error:Contract 'Dibix.Sdk.Tests.DomainModel.Request' has '$isJsonFileResult' set to true, but the contract is not used within a statement marked with the '@FileResult Json' option
24
+
Contracts\Request.json(3,6,3,6):error:Contract 'Dibix.Sdk.Tests.DomainModel.Request' has '$isJsonFileResult' set to true, and therefore should implement a property 'FileName' of type 'string'
Endpoints\GenericEndpointWithErrors.json(109,18,109,18):error:Deep object query parameters are not supported: ids
30
35
Endpoints\GenericEndpointWithErrors.json(109,18,109,18):error:Deep object query parameters are not supported: nested
31
36
Endpoints\GenericEndpointWithErrors.json(109,18,109,18):error:Deep object query parameters are not supported: primitivenested
32
-
Endpoints\GenericEndpointWithErrors.json(122,18,122,18):error:Required nullable query parameters are not supported: 'c'. Either make the parameter optional by providing a default value, add it to the path/body or make it non-nullable.
33
-
Endpoints\GenericEndpointWithErrors.json(152,8,152,8):error:HTTP method DELETE should not specify a body. For an endpoint, that is used to delete a resource, its business key should be part of the URL as path segments using the 'childRoute' property.
37
+
Endpoints\GenericEndpointWithErrors.json(121,18,121,18):error:Required nullable query parameters are not supported: 'c'. Either make the parameter optional by providing a default value, add it to the path/body or make it non-nullable.
38
+
Endpoints\GenericEndpointWithErrors.json(151,8,151,8):error:HTTP method DELETE should not specify a body. For an endpoint, that is used to delete a resource, its business key should be part of the URL as path segments using the 'childRoute' property.
34
39
Endpoints\GenericEndpointWithErrors.json(86,5,86,5):error:Equivalent path defined: GET Tests/GenericEndpoint/ambiguous/route/{a}/{c}/{password}
35
40
Endpoints\GenericEndpointWithErrors.json(96,5,96,5):error:Equivalent path defined: POST Tests/GenericEndpoint/ambiguous/route/{b}/{c}/{password}
36
41
Endpoints\GenericEndpointWithErrors.json(86,5,86,5):error:Duplicate method defined within path: GET Tests/GenericEndpoint/ambiguous/route/{a}/{c}/{password}
37
-
Endpoints\GenericEndpointWithErrors.json(107,5,107,5):error:Duplicate method defined within path: GET Tests/GenericEndpoint/ambiguous/route/{a}/{c}/{password}
42
+
Endpoints\GenericEndpointWithErrors.json(107,5,107,5):error:Duplicate method defined within path: GET Tests/GenericEndpoint/ambiguous/route/{a}/{c}/{password}
43
+
Endpoints\GenericEndpointWithErrors.json(6,18,6,18):error:Ambiguous action name 'EmptyWithParamsAndComplexUdt'. Please use the 'operationId' property to define a unique name when reusing accessor targets.
44
+
Endpoints\GenericEndpointWithErrors.json(109,18,109,18):error:Ambiguous action name 'EmptyWithParamsAndComplexUdt'. Please use the 'operationId' property to define a unique name when reusing accessor targets.
0 commit comments