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
This is because even though we set our representer to null, the handler returns a token entity (I like to return the token for testing purposes), we still call classToPlain in the representer middleware. We should do a null check on the representationType, and if it's null, return null as well.
The text was updated successfully, but these errors were encountered:
Take following controller function:
It generates a Maximum call stack size exceeded:
This is because even though we set our representer to null, the handler returns a token entity (I like to return the token for testing purposes), we still call classToPlain in the representer middleware. We should do a null check on the representationType, and if it's null, return null as well.
The text was updated successfully, but these errors were encountered: