Skip to content

Commit d053077

Browse files
CopilotKnerio
andcommitted
Add max_complexity 200 to fix rubocop warning
Co-authored-by: Knerio <96529060+Knerio@users.noreply.github.com>
1 parent c155cb5 commit d053077

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/graphql/sagittarius_schema.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class SagittariusSchema < GraphQL::Schema
66

77
default_max_page_size 50
88
max_depth 20
9+
max_complexity 200
910
connections.add(ActiveRecord::Relation, Sagittarius::Graphql::StableConnection)
1011

1112
# For batch-loading (see https://graphql-ruby.org/dataloader/overview.html)

0 commit comments

Comments
 (0)