Skip to content
New issue

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

API inconsistency for StorageField and SortableField #506

Open
ctron opened this issue Apr 24, 2017 · 0 comments
Open

API inconsistency for StorageField and SortableField #506

ctron opened this issue Apr 24, 2017 · 0 comments
Assignees
Labels
Bug This is a bug or an unexpected behaviour. Fix it!

Comments

@ctron
Copy link
Contributor

ctron commented Apr 24, 2017

In the Datastore API, when working with predicates the MessageField enum is used in combination with the StorableField interface.

However when it comes to sorting, the same API requires to use SortFieldImpl, which implements SortField but requests to use a String as field name.

IMHO this should be somewhat aligned to use a single Field interface which can use e.g. MessageField for sorting and storing.

@Coduz Coduz added the Bug This is a bug or an unexpected behaviour. Fix it! label May 5, 2020
@Coduz Coduz moved this to To Do in Eclipse Kapua Backlog Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it!
Projects
None yet
Development

No branches or pull requests

3 participants