objectbox / objectbox/objectbox-dart

Configuring build runner

Open
#709 3 comments 0 reactions 0 assignees View on GitHub

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.:

Image

But this warns me that this is not a known Builder.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.