Drizzle adapter usePlural not working with passkey & JWT plugins
I'm having an issue with usePlural for Drizzle where passkey is being entered as passkey but jwks is being entered as jwkss.
For passkey, I got it to properly generate the correct plural but I had to add the following to plugins:
It should automatically detect plurals. For JWKS, well tbh I don't even want to store my JWKS in the database at all, I want to provide it directly to auth to avoid queries. But I do not want to store it as "jwkss".
This is how I had to configure jwks to store as jwks even with usePlural for Drizzle. modelName: jwk
This doesn't feel ideal, I think definitely passkeys should detect usePlural on its own without needing to pass schema
For passkey, I got it to properly generate the correct plural but I had to add the following to plugins:
It should automatically detect plurals. For JWKS, well tbh I don't even want to store my JWKS in the database at all, I want to provide it directly to auth to avoid queries. But I do not want to store it as "jwkss".
This is how I had to configure jwks to store as jwks even with usePlural for Drizzle. modelName: jwk
This doesn't feel ideal, I think definitely passkeys should detect usePlural on its own without needing to pass schema