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

Clean authData of null values on _User update #1199

Merged
merged 3 commits into from
Mar 29, 2016

Commits on Mar 29, 2016

  1. Supports increment as well as Increment

    flovilmart authored and yuzeh committed Mar 29, 2016
    Configuration menu
    Copy the full SHA
    f259a3b View commit details
    Browse the repository at this point in the history
  2. Clean authData of null values on _User update

    Adds a step to the RestWrite#execute chain: it cleans the response
    authData object of null values.
    
    For example, this:
    
    {"authData": {"anonymous": null}, "updatedAt", ...}
    
    will be transformed to this:
    
    {"updatedAt", ...}
    
    And this:
    
    {"authData": {"anonymous": null, "twitter": ...}, "updatedAt", ...}
    
    will be transformed to this:
    
    {"authData": {"twitter": ...}, "updatedAt", ...}
    
    Fixing this issue will fix anonymous user upgrades from the Android SDK.
    yuzeh committed Mar 29, 2016
    Configuration menu
    Copy the full SHA
    1b8e613 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    507fa54 View commit details
    Browse the repository at this point in the history