[datastore] Fix querying with []byte.

impl/prod previously converted []byte to datastore.ByteString for indexed
properties and the equality filters are internally represented with indexed
properties. However, the datastore SDK rejects ByteString as an equality
filter (even though that's what you're supposed to use if you want an
indexed []byte in a model).

R=dnj@chromium.org, hinoka@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2986533002
2 files changed
tree: d9ce6ae3d383638f8c1749b24942b960a7c251a7
  1. docs/
  2. filter/
  3. impl/
  4. infra/
  5. service/
  6. tools/
  7. .travis.yml
  8. AUTHORS
  9. codereview.settings
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. doc.go
  13. LICENSE
  14. pre-commit-go.yml
  15. PRESUBMIT.py
  16. README.md
  17. symbols.go
README.md

gae: A Google AppEngine SDK wrapper

designed for testing and extensibility

THIS PACKAGE HAS NO API COMPATIBILITY GUARANTEES. USE UNPINNED AT YOUR OWN PERIL.

(but generally it should be pretty stableish).

GoDoc Build Status Coverage Status

Installing

go get -u github.com/luci/gae/...

Why/What/How

See the godocs.

Versioning

  • Branch master contains the latest code.

Contributing

  • Sign the Google CLA.
  • Make sure your user.email and user.name are configured in git config.
  • Install the pcg git hook: go get -u github.com/maruel/pre-commit-go/cmd/... && pcg

Run the following to setup the code review tool and create your first review:

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/src/depot_tools
export PATH="$PATH:$HOME/src/depot_tools"
cd $GOROOT/github.com/luci/gae
git new-branch work
# or `git checkout -b work origin/master` if you like typing more.

# hack hack

git commit -a -m "This is awesome\nR=joe@example.com"
# This will ask for your Google Account credentials.
git cl upload -s
# Wait for LGTM over email.
# Check Commit Queue checkbox in Rietveld codereview site.
# See it tested and landed automatically.

Use git cl help and git cl help <cmd> for more details.