[X] I have searched existing issues to ensure the issue has not already been raised
Issue
Not actually a bug, just a missing userInfo typing for generateCsrf decorator function. Now function parameters accept only fastifyCsrfProtection.CookieSerializeOptions, but userInfo should also be possible to pass
I did not investigate now if this is a valid claim. But if you are willing to provide a PR with tests and typings, I can promise you that we can evaluate it and merge it in a timely manner.
Prerequisites
Issue
Not actually a bug, just a missing
userInfo
typing forgenerateCsrf
decorator function. Now function parameters accept only fastifyCsrfProtection.CookieSerializeOptions, but userInfo should also be possible to pass