Skip to content

Commit

Permalink
Merge pull request #1049 from sangria-graphql/max_errors_by_default
Browse files Browse the repository at this point in the history
use a max number of errors by default
  • Loading branch information
yanns authored Sep 11, 2023
2 parents c71e7b5 + c8155a3 commit 91a8c79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ case class Executor[Ctx, Root](
middleware: List[Middleware[Ctx]] = Nil,
maxQueryDepth: Option[Int] = None,
queryReducers: List[QueryReducer[Ctx, _]] = Nil,
errorsLimit: Option[Int] = None
errorsLimit: Option[Int] = Some(10)
)(implicit executionContext: ExecutionContext) {
def prepare[Input](
queryAst: ast.Document,
Expand Down

0 comments on commit 91a8c79

Please sign in to comment.