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
When using loaderFactory method is calling custom makeCallingParams which create new context. By the default this function shoud include ['provider', 'authenticated', 'user'] from given context, but this not happening because this properites is trying to get from context not from context.params.
if(include){(Array.isArray(include) ? include : [include]).forEach(name=>{if(nameincontext)included[name]=context[name];});}
to work like original makeCallingParams need to change to this:
There remains an incompatibility in that BatchLoader version includes paginate: false as a default.
People can seemingly delay upgrading Feathers versions as long as possible. So I'd prefer leaving batch-loader woking with v4 rather than force an update to v4 feathers-hooks-common.
When using loaderFactory method is calling custom makeCallingParams which create new context. By the default this function shoud include ['provider', 'authenticated', 'user'] from given context, but this not happening because this properites is trying to get from context not from context.params.
to work like original makeCallingParams need to change to this:
or just to use makeCallingParams
The text was updated successfully, but these errors were encountered: