-
Notifications
You must be signed in to change notification settings - Fork 49
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
RFE: automatically use datastore Text for properties greater than 500 characters #31
Comments
I'll try to do this for the next version. Patches always welcome, naturally. :) |
I think this is something that should be handled in your application code instead of appengine-magic. TextProperties are very different from StringProperties (for example, TextProperties cannot be indexed) and alot of things could go wrong if we start automatically converting from strings to text instead of failing loudly and obnoxiously when the user tries to store a string > 500 characters. |
Good point about different behavior. I'll think about this some more before coding it up. |
I'm leaning towards not supporting this automatic type change. Seems like it has too much potential for introducing subtle bugs. |
A doc example would be about as useful as a new feature would be. |
Not sure what you're talking about..? |
Google's datastore limits strings to 500 characters. It would be nice if the datastore service handled this magically.
The text was updated successfully, but these errors were encountered: