Skip to content
Discussion options

You must be logged in to vote

Yes, make sure that CASL can detect type of your entities. If your entities are POJO then you have 2 options either enhance its type after fetching from API on service layer (adding additional hidden property) or by using subject helper.

I guess it should be explained in the guide

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@erkanImperiatec
Comment options

@stalniy
Comment options

Answer selected by erkanImperiatec
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants