-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versionstate:released-betaReleased as beta versionReleased as beta versiontype:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed
Description
New Issue Checklist
- [x ] I am not disclosing a vulnerability.
- [x ] I am not just asking a question.
- [x ] I have searched through existing issues.
- [ x] I can reproduce the issue with the latest version of Parse Server.
Issue Description
Can save nested objects, can't retrieve dates.
Steps to reproduce
const test = new Parse.Object("Test");
test.set("objectTypeColumnName", { date: new Date(), otherValue: true });
await test.save();
const testRes = new Parse.Query("Test").first();
console.log(testRes.get("objectTypeColumnName"));
Expected
{
date: 2023-02-25T04:44:46.848Z,
otherValue: true
}
Actual
{
date: {},
otherValue: true
}
- Parse Server version:
6.0.0
- Operating system:
MacOS 13.2.1
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
local
Database
- System (MongoDB or Postgres):
MongoDB
- Database version:
5.0.1
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
local
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc):
JavaScript
- SDK version:
4.0.1
Metadata
Metadata
Assignees
Labels
state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versionstate:released-betaReleased as beta versionReleased as beta versiontype:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed