Skip to content

Commit 28bff37

Browse files
knaeckeKamiclaude
andcommitted
feat: deferred allocator pattern and configurable formatting support
- **BREAKING**: Remove allocator parameter from public APIs in gql_code_builder - Use Code.scope pattern for deferred type allocation instead of passing allocator through all functions - Add configurable formatting support with dart_style 3.0.0 - Add format configuration options (page_width, language_version) in build.yaml - Pass DartFormatter through all builders for consistent formatting - Update to gql_code_builder 0.15.0 and gql_build 0.13.0 - Add compatibility with build 3.0.0 This refactoring improves separation of concerns between code generation logic and import management, making the code cleaner and more testable. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7283180 commit 28bff37

File tree

215 files changed

+8880
-7201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+8880
-7201
lines changed

.claude/settings.local.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://json.schemastore.org/claude-code-settings.json",
3+
"enableAllProjectMcpServers": false,
4+
"permissions": {
5+
"allow": [
6+
"Bash(gh pr:*)"
7+
]
8+
}
9+
}

codegen/end_to_end_test/build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ targets:
33
builders:
44
gql_build|ast_builder:
55
enabled: true
6+
options:
7+
format:
8+
page_width: 80
9+
language_version: '3.7.0'
610
gql_build|req_builder:
711
enabled: true
812
options:

codegen/end_to_end_test/lib/aliases/__generated__/alias_var_fragment.ast.gql.dart

Lines changed: 97 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)