objectbox-generatoron the changed
.fbsfile without any further action needed from you.
objectbox:uidannotation to the entity/property you want to rename:
objectbox-generator [-c|-cpp] schema.fbs. The generation will fail with an error message that gives you the current UID of the entity/property:
objectbox-model.jsonfile yourself and add it as a value of the
uidannotation when renaming your entity/property to achieve the same effect.
go generate ./...in your project directory. The generation will fail with an error message that gives you the current UID of the property: