Skip to content
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

Allow null values in dict-ized RemoteObjects #2

Open
mmalone opened this issue Sep 2, 2009 · 0 comments
Open

Allow null values in dict-ized RemoteObjects #2

mmalone opened this issue Sep 2, 2009 · 0 comments

Comments

@mmalone
Copy link
Contributor

mmalone commented Sep 2, 2009

RemoteObjects currently exclude fields with a None value when objects are converted to dictionaries. This can be problematic for APIs that don't treat nonexistent keys and null values the same way.

Perhaps we should provide some mechanism that allows the "default" value of a field to be an AttributeError, then include all values in the dictionary (including None) only skipping those that raise an AttributeError.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant