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
References file from the previous paragraph: import { defineAbilitiesFor } from "./authentication.abilities";
Actual behavior
References file from the previous paragraph by the wrong name: import { defineAbilitiesFor } from "./abilities";
TBD
Just another little one - sorry these trickle in now...
It might be worth noting that /src/services/authentication/ is not created when using the FeathersJS CLI. As a consequence, the authentication service has no auto-generated hooks and validators/resolvers.
Instead, there is /src/authentication.js, which should probably be the default place for the hooks in your proposed src/services/authentication/authentication.hooks.ts
Viele Grüße
The text was updated successfully, but these errors were encountered:
Steps to reproduce
https://feathers-casl.netlify.app/getting-started.html#add-abilities-to-hooks-context
Expected behavior
References file from the previous paragraph:
import { defineAbilitiesFor } from "./authentication.abilities";
Actual behavior
References file from the previous paragraph by the wrong name:
import { defineAbilitiesFor } from "./abilities";
TBD
Just another little one - sorry these trickle in now...
It might be worth noting that
/src/services/authentication/
is not created when using the FeathersJS CLI. As a consequence, the authentication service has no auto-generated hooks and validators/resolvers.Instead, there is
/src/authentication.js
, which should probably be the default place for the hooks in your proposedsrc/services/authentication/authentication.hooks.ts
Viele Grüße
The text was updated successfully, but these errors were encountered: