loopbackio / loopback-connector-elastic-search

Strongloop Loopback connector for Elasticsearch
MIT License
79 stars 56 forks source link

hasManyThrough get relations #39

Open JonnyBGod opened 8 years ago

JonnyBGod commented 8 years ago

For some reason I am not able to get related object on hasManyThrough relations. Post works fine.

But GET /user/:id/related results on empty array. This works perfectly if I switch to mongodb connector.

pulkitsinghal commented 8 years ago

I did not implement it and probably neither did the person from whom I forked this project to work on.

I do not have the bandwidth to do this but if someone wants to submit a PR, please let the community know.

linzhigang commented 6 years ago

@pulkitsinghal ,thanks so much for creating this project. I am looking for the model relations support in this ES connector. So is just the hasManyThrough not implemented or either for other kind of relations, such as hasMany, BelongsTo?