generated from SwissLife-OSS/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94cc2a1
commit 8e9dd0c
Showing
13 changed files
with
49 additions
and
141 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<HotChocolateVersion>12.12.1</HotChocolateVersion> | ||
<HotChocolateVersion>13.0.2</HotChocolateVersion> | ||
<MongoDBVersion>2.9.3</MongoDBVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'"> | ||
<MicrosoftExtensionsVersion>6.0.0</MicrosoftExtensionsVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)' == 'net7.0'"> | ||
<MicrosoftExtensionsVersion>7.0.0</MicrosoftExtensionsVersion> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"sdk": { | ||
"version": "6.0.401" | ||
"version": "7.0.101" | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
12 changes: 1 addition & 11 deletions
12
...snapshots__/BewitAuthorizationMiddlewareIntegrationTests.Query_WhenAuthorize_Success.snap
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
{ | ||
"QueryResult": { | ||
"Label": null, | ||
"Path": null, | ||
"Data": { | ||
"foo": "bar" | ||
}, | ||
"Errors": null, | ||
"Extensions": null, | ||
"ContextData": null, | ||
"HasNext": null | ||
}, | ||
"QueryResult": "{\n \"data\": {\n \"foo\": \"bar\"\n }\n}", | ||
"BewitContext": { | ||
"Email": "[email protected]" | ||
} | ||
|
10 changes: 2 additions & 8 deletions
10
...te.Tests/__snapshots__/BewitAuthorizationMiddlewareTests.Query_WhenAuthorize_Success.snap
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
{ | ||
"Label": null, | ||
"Path": null, | ||
"Data": { | ||
"data": { | ||
"foo": "bar" | ||
}, | ||
"Errors": null, | ||
"Extensions": null, | ||
"ContextData": null, | ||
"HasNext": null | ||
} | ||
} |
56 changes: 11 additions & 45 deletions
56
...te.Tests/__snapshots__/BewitAuthorizationMiddlewareTests.Query_WhenNotAuthorize_Fail.snap
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,19 @@ | ||
{ | ||
"Label": null, | ||
"Path": null, | ||
"Data": { | ||
"foo": null | ||
}, | ||
"Errors": [ | ||
"errors": [ | ||
{ | ||
"Message": "NotAuthorized", | ||
"Code": null, | ||
"Path": { | ||
"Parent": null, | ||
"Depth": 0, | ||
"Name": "foo" | ||
}, | ||
"Locations": [ | ||
"message": "NotAuthorized", | ||
"locations": [ | ||
{ | ||
"Line": 1, | ||
"Column": 3 | ||
"line": 1, | ||
"column": 3 | ||
} | ||
], | ||
"Extensions": null, | ||
"Exception": null, | ||
"SyntaxNode": { | ||
"Kind": "Field", | ||
"Alias": null, | ||
"Arguments": [], | ||
"Required": null, | ||
"SelectionSet": null, | ||
"Location": { | ||
"Start": 2, | ||
"End": 7, | ||
"Line": 1, | ||
"Column": 3 | ||
}, | ||
"Name": { | ||
"Kind": "Name", | ||
"Location": { | ||
"Start": 2, | ||
"End": 7, | ||
"Line": 1, | ||
"Column": 3 | ||
}, | ||
"Value": "foo" | ||
}, | ||
"Directives": [] | ||
} | ||
"path": [ | ||
"foo" | ||
] | ||
} | ||
], | ||
"Extensions": null, | ||
"ContextData": null, | ||
"HasNext": null | ||
"data": { | ||
"foo": null | ||
} | ||
} |
69 changes: 11 additions & 58 deletions
69
...late.Tests/__snapshots__/BewitAuthorizationMiddlewareTests.Query_WhenWrongToken_Fail.snap
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,19 @@ | ||
{ | ||
"Label": null, | ||
"Path": null, | ||
"Data": { | ||
"foo": null | ||
}, | ||
"Errors": [ | ||
"errors": [ | ||
{ | ||
"Message": "NotAuthorized", | ||
"Code": null, | ||
"Path": { | ||
"Parent": null, | ||
"Depth": 0, | ||
"Name": "foo" | ||
}, | ||
"Locations": [ | ||
"message": "NotAuthorized", | ||
"locations": [ | ||
{ | ||
"Line": 1, | ||
"Column": 3 | ||
"line": 1, | ||
"column": 3 | ||
} | ||
], | ||
"Extensions": null, | ||
"Exception": { | ||
"ClassName": "Bewit.Validation.Exceptions.BewitInvalidException", | ||
"Message": "The given Bewit is invalid.", | ||
"Data": null, | ||
"InnerException": null, | ||
"HelpURL": null, | ||
"StackTraceString": "at Bewit.Validation.BewitTokenValidator`1.ValidateBewitAsync(Bewit`1 bewit, CancellationToken cancellationToken) in ***", | ||
"RemoteStackTraceString": null, | ||
"RemoteStackIndex": 0, | ||
"ExceptionMethod": null, | ||
"HResult": -2146233088, | ||
"Source": "Bewit.Validation", | ||
"WatsonBuckets": null | ||
}, | ||
"SyntaxNode": { | ||
"Kind": "Field", | ||
"Alias": null, | ||
"Arguments": [], | ||
"Required": null, | ||
"SelectionSet": null, | ||
"Location": { | ||
"Start": 2, | ||
"End": 7, | ||
"Line": 1, | ||
"Column": 3 | ||
}, | ||
"Name": { | ||
"Kind": "Name", | ||
"Location": { | ||
"Start": 2, | ||
"End": 7, | ||
"Line": 1, | ||
"Column": 3 | ||
}, | ||
"Value": "foo" | ||
}, | ||
"Directives": [] | ||
} | ||
"path": [ | ||
"foo" | ||
] | ||
} | ||
], | ||
"Extensions": null, | ||
"ContextData": null, | ||
"HasNext": null | ||
"data": { | ||
"foo": null | ||
} | ||
} |