Descriptionimpl/memory: Make queries self-validate
This moves validation and normalization logic into the query construction
process itself. This makes it so that queries are either valid and normalized,
or they contain an error (and query building 'sticks' on the first error
encountered).
This replaces the previous build-a-questionable-query-and-then-try-to-make-it-sensible
logic (which was copied from dev_appserver for the most part).
R=dnj@google.com, dnj@chromium.org, estaab@chromium.org, tandrii@chromium.org, vadimsh@chromium.org
BUG=
Committed: https://github.com/luci/gae/commit/9f570ae76af2ec00cbc915f8c2200d5339607273
Patch Set 1 #Patch Set 2 : #Patch Set 3 : add doc #
Total comments: 20
Patch Set 4 : rebase #Patch Set 5 : fix nits #Patch Set 6 : rebase #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 6 (1 generated)
|