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

Add batching support #2698

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft
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
Prev Previous commit
Next Next commit
Fix type
patrick91 committed Jul 11, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 53ffca157141bbb29a0e30a7898ac98a230c5f87
8 changes: 4 additions & 4 deletions strawberry/schema/config.py
Original file line number Diff line number Diff line change
@@ -20,10 +20,10 @@ class StrawberryConfig:
relay_max_results: int = 100

batching_config: BatchingConfig = field(
default_factory=lambda: {
"enabled": False,
"max_operations": 3,
}
default_factory=lambda: BatchingConfig(
enabled=False,
max_operations=3,
)
)

def __post_init__(