We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the Datastore API, when working with predicates the MessageField enum is used in combination with the StorableField interface.
MessageField
StorableField
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.
SortFieldImpl
SortField
String
IMHO this should be somewhat aligned to use a single Field interface which can use e.g. MessageField for sorting and storing.
Field
The text was updated successfully, but these errors were encountered:
riccardomodanese
No branches or pull requests
In the Datastore API, when working with predicates the
MessageField
enum is used in combination with theStorableField
interface.However when it comes to sorting, the same API requires to use
SortFieldImpl
, which implementsSortField
but requests to use aString
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.The text was updated successfully, but these errors were encountered: