parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Relations are now bidirectional, unlike at parse.com

Open derickito opened this issue 10 years ago • 2 comments

Environment Setup

I'm running Node 4.3, Mongo 3.0.9 in DigitalOcean

Steps to reproduce

If a user has a like relation of type User and user A likes user B and you query user B's like relation for user A it returns true, which it's supposed to return false, since user B hasn't liked user A. This is the way relations worked for my app in parse.com. Am I doing something wrong?

Logs/Trace

derickito avatar Mar 06 '16 18:03 derickito

That would help to have more informations about that problem a test case, example etc...

flovilmart avatar Mar 12 '16 02:03 flovilmart

I've added a test that checks for this in #1283, which passes. If you are doing something differently in your code and is not behaving how you expect, please open a new issue and include your code that is failing.

drew-gross avatar Mar 30 '16 20:03 drew-gross