Skip to content

Automatically generate IDs and UIDs for entities and properties #18

Closed
@nalenz-objectbox

Description

@nalenz-objectbox
  • when writing an entity class, it should be enough to specify the respective annotation without any parameters, i.e. @Entity() class MyEntity { ... } should suffice
  • all instance variables of the entity class shall be incorporated into the final model and only those with special properties (e.g. @Id()) need to be annotated
  • all IDs and UIDs need to be generated by objectbox_model_generator, together with these rules on how to resolve changes and conflicts
  • in contrast to the current situation, this means that the existing generated file (specifically the _MyEntity_OBXModel object) needs to be parsed beforehand in order to detect changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions