We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dart --version
flutter --version
Entity with:
@Transient() DateTime? utcDate; @Index() int get dbUtcDate => utcDate?.millisecondsSinceEpoch ?? 0; set dbUtcDate(int value) { utcDate = DateTime.fromMillisecondsSinceEpoch(value, isUtc: true); }
generates objectbox-model.json without index:
{ "id": "46:2219823090073850885", "name": "dbUtcDate", "type": 6 }
Above should generate indexed property, just like this does (version without transient + getter/setter):
@Index() int? dbUtcDate;
generates:
{ "id": "46:2219823090073850885", "name": "dbUtcDate", "type": 6, "flags": 8, "indexId": "35:4553977394910343818" }
The text was updated successfully, but these errors were encountered:
Thanks for reporting! Merging this with #392 (and closing this).
Sorry, something went wrong.
No branches or pull requests
Basic info (please complete the following information):
dart --version
orflutter --version
]Steps to reproduce
Entity with:
generates objectbox-model.json without index:
Expected behavior
Above should generate indexed property, just like this does (version without transient + getter/setter):
generates:
The text was updated successfully, but these errors were encountered: