objectbox / objectbox/objectbox-dart

[Feature] Support flag auto add UIDs to Entities and Properties

Open
#761 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Dart
Stars
1.2k
Forks
162
Avg merge
15m
Merged PRs (30d)
1

Description

When build_runner i want auto to add uid to @Entity and @Property to data model.
For fix conflict and rollback file better.

Doc https://docs.objectbox.io/advanced/data-model-updates#how-to-and-example-java-kotlin-and-dart
Repeating those steps is too time consuming.

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 by reading the linked ObjectBox data-model update documentation and reviewing how build_runner handles @Entity and @Property annotations in this repository. Define the behavior for automatically adding UIDs, including conflict and rollback cases, then verify that the generated data model supports those workflows.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.