objectbox / objectbox/objectbox-dart
Configuring build runner
Open
Nobody has claimed this yet.
documentation
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 162
- Avg merge
- 15m
- Merged PRs (30d)
- 1
Description
Hey there,
I tried to limit the files scanned for code generation. Found no option in build.yaml.
Is this not supported or am I missing something?
Is there an existing issue?
- Not an issue in itself.
Use case
- Generating objectbox.g.dart
Proposed solution
- Editing build.yaml can configure which files will be scanned, making build runner faster. E.g.:
But this warns me that this is not a known Builder.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the build.yaml configuration and the existing setup that generates objectbox.g.dart. Determine how file scanning is configured and why the proposed setting reports an unknown Builder; done means a supported configuration can limit scanned files and the generated output remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100