loopbackio / loopback-connector-redis

EXPERIMENTAL: Redis connector for LoopBack.
http://loopback.io/doc/en/lb2/Redis-connector.html
Other
36 stars 46 forks source link

loopback-connector-redis and include filter #6

Closed mercuriete closed 8 years ago

mercuriete commented 9 years ago

I'm trying to create a hasOne relation between a mysql table with a model that uses a redis connector.

When you are querying only 1 element it works but when you query several elements, the redis indexes doesnt work properly and then return only the result of the first table without the relation.

Thank you for this awsome product.

edit: i fixed it creating the other way round relation. now I have a belongsTo in the redis side and this works.

edit2: im not 100% sure but its something with the indexes. if you cant recreate this i will try to be more specific.

edit 3: my version is 0.0.3 that is what is in npm.

superkhau commented 8 years ago

Can you provide a link to a test project with steps to reproduce the issue? See https://github.com/strongloop/loopback/wiki/Reporting-issues#bug-report.

superkhau commented 8 years ago

Closing due to inactivity, please open a new issue if you are still running into problems.