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

feat(ParseObject): enable subclasses to set initial values for props #924

Open
wants to merge 7 commits into
base: alpha
Choose a base branch
from

Commits on Sep 15, 2019

  1. test(ParseCloudeTest): add case 'retrieve subclass objects'

    * Test failing with error "Expected 'default' to be 'foo'."
    * `jasmine.DEFAULT_TIMEOUT_INTERVAL` was increased to `10000` because the first cases often failed when starting integration testing.
    
    Related to issue parse-community/parse-server#5521
    RaschidJFR committed Sep 15, 2019
    Configuration menu
    Copy the full SHA
    d0f48aa View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2019

  1. test(ParseCloudTed): moved test 'retrieve subclass objects'

    I found that the problem is in the `ParseObject` class
    RaschidJFR committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    d961397 View commit details
    Browse the repository at this point in the history
  2. feat(ParseObject): enable subclasses to set initial values for props

    Sobclasses of `ParseObject` where unable to set initial values for their props and maintain them after fetching from the server. The function `ParseObject.fromJSON()` has been modified to allow this feature. Two test cases have been added.
    
    It may close parse-community/parse-server/#5521
    RaschidJFR committed Sep 16, 2019
    Configuration menu
    Copy the full SHA
    a6d613d View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2019

  1. Configuration menu
    Copy the full SHA
    0331efd View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2019

  1. Configuration menu
    Copy the full SHA
    93deba3 View commit details
    Browse the repository at this point in the history
  2. fix(ParseObject): remove reserved fields in fromJSON()

    * reserved field prevented the creation of some classes such as ParseUser
    * fix test 'retrieve subclass objects' in ParseObjectTest.js
    RaschidJFR committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    8c9bf87 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2020

  1. Configuration menu
    Copy the full SHA
    9b5c177 View commit details
    Browse the repository at this point in the history