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

Array of Pointers return full parse objects by default (without using include) #3895

Closed
coryshaw opened this issue Jun 1, 2017 · 1 comment

Comments

@coryshaw
Copy link

coryshaw commented Jun 1, 2017

Issue Description

I have a column on the User table that is an Array. To that Array I've added some pointer objects. When I query the user table, the data that comes back from the Array of pointers is the full parse objects, not the pointers.

As I understand it, this should only happen if i use include as part of the query, which I am not.

Steps to reproduce

  1. Create a column of type Array called PointerTest
  2. Add some pointers to PointerTest
  3. Query the class with PointerTest

Expected Results

The results of the PointerTest column should be pointers

Actual Outcome

The results the PointerTest column are full parse objects (not pointers)

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 2.3.3
    • Operating System: Mac OS running Docker Linux Container
    • Hardware: Macbook Pro
    • Localhost or remote server? Localhost
  • Database

    • MongoDB version: 3.2.12
    • Storage engine: mLab
    • Hardware: AWS
    • Localhost or remote server? AWS
@coryshaw coryshaw changed the title Array of Pointers return full parse objects from by default (without using include) Array of Pointers return full parse objects by default (without using include) Jun 1, 2017
@coryshaw
Copy link
Author

coryshaw commented Jun 1, 2017

on second thought, this is a JS SDK issue, parse server returns the pointers correctly. Closing and opening an issue over there.

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