Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(graphql): Set max execution depth to 10 #1431

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
set max depth to 10
oskogstad committed Nov 10, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
HighCrit HighCrit
commit 688db19a271113653f09c46877a98124d3261423
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ public static IServiceCollection AddDialogportenGraphQl(this IServiceCollection
.AddType<SearchDialogValidationError>()
.AddType<SearchDialogForbidden>()
.AddType<SetSystemLabelEntityNotFound>()
.AddMaxExecutionDepthRule(10)
.AddInstrumentation()
.InitializeOnStartup()
.Services;