objectbox / objectbox/objectbox-java
Is there an example on how to define and use the object model at runtime?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 311
- PR merge metrics
- No merged PRs in 30d
Description
I like to build an android app using the ObjectBox. In this case the entities and attributes are not known at compile time.
Is it possible to create the data model at run time (e.g. generating the objectbox-models/default.json during runtime) and use the ObjectBox classes without any compile time annotations? I could not find any references for this mode of operation.
Thanks!
Contributor guide
No contributing guide indexed for this repository
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 by reviewing the objectbox-models/default.json model format and the compile-time annotation path described in the issue. Determine whether runtime entities and attributes can be supported without annotations; done would be a documented, working Android example or a clear statement that this mode is unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- databases, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100