glowy
glowy
Explore posts from servers
BABetter Auth
Created by glowy on 2/22/2025 in #help
Is it possible / advisable to customize user table name and ids?
For instance, for our app (using Drizzle) our standard table naming convention is plural (users) and our ids have a prefix (usr_Y3lMhLkh7xdC0t). Is this possible to implement in BetterAuth. And is it advisable? If there's a chance things will break at some point or be more difficult to work with, particularly with renaming the table names, then we'll just keep everything standard. But if it's possible to adapt to our standards without additional friction, that would obviously be a bit nicer.
3 replies
BABetter Auth
Created by glowy on 2/21/2025 in #help
How do you deleteUser from server side?
Calling auth.api.deleteUser seems to require { body: {} } which takes a token and things like that. I just wanna pass in a userId...
3 replies
TtRPC
Created by glowy on 12/7/2022 in #❓-help
Cannot find namespace 'trpc'
2 replies
TtRPC
Created by glowy on 12/5/2022 in #❓-help
How can I use a fork of trpc-next?
Hey there, I've made a fork of @trpc in order to fix an issue inside of @trpc/next. I can build it and manually use it in my code. However, I'm struggling to reference the package directly from github in yarn. I put the following in my package.json file:
"dependencies": {
"@trpc/next": "skyriverbend/trpc#commit=9c0f4eb0896f06baeff789a841d4d9ae1b2a6f1b&workspace=@trpc/next",
}
"dependencies": {
"@trpc/next": "skyriverbend/trpc#commit=9c0f4eb0896f06baeff789a841d4d9ae1b2a6f1b&workspace=@trpc/next",
}
I'm getting an error when trying to run yarn
Assertion failed: Unsupported workflow
Assertion failed: Unsupported workflow
Any idea what I might be doing wrong?
2 replies