Skip to content

Commit

Permalink
Merge pull request #5599 from DimuthuMadushan/2201.10.0-stage
Browse files Browse the repository at this point in the history
Update GraphQL Query Complexity BBE
  • Loading branch information
MohamedSabthar committed Aug 21, 2024
2 parents be139f9 + 7fec2b0 commit 1fc42d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GraphQL service - Query Complexity

a `graphql:Service` can be secured by limiting the complexity of the operations that can be executed. This can be done by setting a maximum complexity threshold for a given service. The query complexity is calculated by assigning a complexity value to each field in the GraphQL schema. The complexity of an operation is the sum of the complexity values of the fields in the operation.
A `graphql:Service` can be secured by limiting the complexity of the operations that can be executed. This can be done by setting a maximum complexity threshold for a given service. The query complexity is calculated by assigning a complexity value to each field in the GraphQL schema. The complexity of an operation is the sum of the complexity values of the fields in the operation.

::: code graphql_service_query_complexity.bal :::

Expand Down

0 comments on commit 1fc42d2

Please sign in to comment.