loopback-connector-elastic-search icon indicating copy to clipboard operation
loopback-connector-elastic-search copied to clipboard

Id is not present when it is used with include filter

Open Mohammed-Aadil opened this issue 8 years ago • 1 comments

There is only _source part of json if related model get fetched with include filter.

Mohammed-Aadil avatar May 09 '17 14:05 Mohammed-Aadil

Nice catch! Can you submit a PR with a failing test for this? Probably don't even have to write a new one, just an assertion in a existing one might suffice.

That way we can put that together with the patch when we release to prove that it is fixed!

pulkitsinghal avatar May 09 '17 18:05 pulkitsinghal