Rather than throwing an exception in ProtoModel, as we do for message fields in queries ...
11 years, 2 months ago
(2013-02-22 06:57:44 UTC)
#2
Rather than throwing an exception in ProtoModel, as we do for message fields in
queries [1], this must be done in the query info itself.
This is because for repeated properties, the default value is always [], not
None, so even leaving the repeated property out of the schema will not help to
keep this exception from occurring.
[1]:
http://code.google.com/p/endpoints-proto-datastore/source/browse/endpoints_pr...
Issue 7377051: Only failing on repeated properties in a query if non-empty. Fixes Issue 33.
(Closed)
Created 11 years, 2 months ago by dhermes
Modified 11 years, 2 months ago
Reviewers: danielholevoet
Base URL:
Comments: 0