lambert
lambert
Explore posts from servers
BABetter Auth
Created by lambert on 2/19/2025 in #help
Refetching session for additionalFields change
Thanks, I'm using inferAdditionalFieldPlugin. The problem is, when I'm changing it for a session I need to update the session on the frontend. I'm asking how to do that, not how to read the field
3 replies
HHono
Created by lambert on 2/11/2025 in #help
RPC typing is behaving weird
Localizing software, yeah, like i18n and other stuff
30 replies
BABetter Auth
Created by lambert on 2/11/2025 in #help
Creating declaration files results in too long type
tsup had the same problem, I "fixed" it with removing the passkey Plugin I don’t think it’s really the culprit, just that it’s type probably pushed it over the limit
4 replies
HHono
Created by lambert on 2/11/2025 in #help
RPC typing is behaving weird
Sorry, had to do something A translation management system
30 replies
HHono
Created by lambert on 2/11/2025 in #help
RPC typing is behaving weird
Was an ad-hoc vacation, not really time to plan anything 😄
30 replies
HHono
Created by lambert on 2/11/2025 in #help
RPC typing is behaving weird
Curse of programming, should've just booked a vacation instead of doing even more programming lol
30 replies
HHono
Created by lambert on 2/11/2025 in #help
RPC typing is behaving weird
Yeah, for real projects I'd do that too but this is a vacation fun project, just want to do something quick and dirty
30 replies
HHono
Created by lambert on 2/11/2025 in #help
RPC typing is behaving weird
Okay, wait, now I'm even more confused... This is the type that's getting outputted:
api: {
projects: import("hono/client").ClientRequest<{
$get: {
input: {};
output: {};
outputFormat: "json";
status: 200;
};
$post: {
input: {};
output: {};
outputFormat: "json";
status: import("hono/utils/http-status").ContentfulStatusCode;
};
}>;
};
api: {
projects: import("hono/client").ClientRequest<{
$get: {
input: {};
output: {};
outputFormat: "json";
status: 200;
};
$post: {
input: {};
output: {};
outputFormat: "json";
status: import("hono/utils/http-status").ContentfulStatusCode;
};
}>;
};
30 replies
HHono
Created by lambert on 2/11/2025 in #help
RPC typing is behaving weird
Quite honestly, for me too.. It has grown so large it's crazy
30 replies
HHono
Created by lambert on 2/11/2025 in #help
RPC typing is behaving weird
Found that too, thank you! Now I have problems with better-auths type being too big, but that's another story! Thank you very much for your help!
30 replies
HHono
Created by lambert on 2/11/2025 in #help
RPC typing is behaving weird
Hey, I‘m using Bun and Turborepo for managing my monorepo and I‘m importing them directly from the source file How would I go about exporting a generated type and still keep the DX somewhat good?
30 replies