objectbox / objectbox/objectbox-java

change type of custom id parameter in relation

Open
#229 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

not sure about this
Dominant language
Java
Stars
4.6k
Forks
311
PR merge metrics
No merged PRs in 30d

Description

i think it's better change parameter type of @Backlink and @TargetIdProperty from String to Property

example :

(before)

@Backlink(to = "anotherId");

(after)

@Backlink(to = File_.anotherId)

Contributor guide

No contributing guide indexed for this repository

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 locating the definitions and usages of @Backlink and @TargetIdProperty, then inspect the relation and annotation tests around their current String parameters. Done means the annotations support the requested Property-based form shown in the issue and the relevant tests or examples verify it without breaking the existing relation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.