-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Parse creates incorrect index for pointer columns #4719
Comments
Updating this now that #4738 is merged to note that the indices created for |
@ClaireNeveu I've added a fix to this in #4629 |
@dplewis In your PR shouldn't the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Issue Description
Describe your issue in as much detail as possible.
Steps to reproduce
Foo
with a columntestCol
which is a Pointer toFoo
(or any class)curl -X PUT http://localhost:7345/1/schemas/Foo -H 'content-type: application/json' -H "X-Parse-Application-Id: the_application_id" -H "X-Parse-Master-Key: the_master_key" -d '{"className":"Foo","indexes":{"testestest":{"testCol":1}}}'
Expected Results
Parse creates a mongo index on
_p_testCol
(the backing field oftestCol
).Actual Outcome
Parse creates a mongo index on
testCol
(which doesn't exist in the mongo documents)Environment Setup
Server
Database
The text was updated successfully, but these errors were encountered: