You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is the expected behaviour or not, but when I configure a service with allowedUpsert and call _patch with $eager, the returned value does not contain the relations specified in the eager expression.
I have put together this codesandbox to highlight the issue.
Notice that if allowedUpsert config is removed from line 60, the expected result is returned with the subTask value populated.
The text was updated successfully, but these errors were encountered:
estephan
changed the title
$eager not working when _.patch is called and allowedUpsert is configured
$eager not working when _patch is called and allowedUpsert is configured
Mar 30, 2022
I'm not sure if this is the expected behaviour or not, but when I configure a service with
allowedUpsert
and call_patch
with$eager
, the returned value does not contain the relations specified in the eager expression.I have put together this codesandbox to highlight the issue.
Notice that if
allowedUpsert
config is removed fromline 60
, the expected result is returned with thesubTask
value populated.Versions
feathers-objection: 7.5.4
objection: 3.0.1
knex: 1.0.4
The text was updated successfully, but these errors were encountered: