wailroth
wailroth
Explore posts from servers
WWasp-lang
Created by wailroth on 8/10/2024 in #🙋questions
Unable to create opensaas project
Oh, I found! It was because of my network filter
11 replies
WWasp-lang
Created by wailroth on 8/10/2024 in #🙋questions
Unable to create opensaas project
what a cool bot lol
11 replies
WWasp-lang
Created by wailroth on 8/10/2024 in #🙋questions
Unable to create opensaas project
Yep, creating a basic project works well @kapa.ai , but not the SaaS
11 replies
CC#
Created by wailroth on 6/8/2024 in #help
Refresh a card without refreshing the whole board
4 replies
CC#
Created by wailroth on 6/8/2024 in #help
Refresh a card without refreshing the whole board
Without refreshing the whole board
4 replies
TTCTheo's Typesafe Cult
Created by wailroth on 5/22/2024 in #questions
Advices for an electron app
yeah that's what I said, but for that i can: make an api OR make the client directly discuss with the database, which in fact not that bad because it's its own database
7 replies
TTCTheo's Typesafe Cult
Created by wailroth on 5/22/2024 in #questions
Advices for an electron app
please ping me 🙏
7 replies
TTCTheo's Typesafe Cult
Created by wailroth on 5/22/2024 in #questions
Advices for an electron app
like, do some calls with the client directly connected to a dedicated sql server
7 replies
CC#
Created by wailroth on 3/21/2024 in #help
Maui .NET 8.0 On macOS
up ? 😦
2 replies
DTDrizzle Team
Created by wailroth on 10/22/2023 in #help
Schema to type
like that for example:
price: z.string({
required_error: "A price is required",
invalid_type_error: "Price should be a number"
}).transform((val) => parseInt(val)),
price: z.string({
required_error: "A price is required",
invalid_type_error: "Price should be a number"
}).transform((val) => parseInt(val)),
24 replies
DTDrizzle Team
Created by wailroth on 10/22/2023 in #help
Schema to type
because, for example, my product take in attributes "price" which is a number, but with the 'useForm' hook, you'r forced to take a string, then transform it to a number, then submit it
24 replies
DTDrizzle Team
Created by wailroth on 10/22/2023 in #help
Schema to type
In my case, I think i'll be forced to create a new schema
24 replies
DTDrizzle Team
Created by wailroth on 10/22/2023 in #help
Schema to type
and like that:
productId: z.number({
required_error: "Product id is required",
invalid_type_error: "Product id is a number"
}).optional(),
name: z.string({
required_error: "A name is required",
invalid_type_error: "Name should be a string"
}),
productId: z.number({
required_error: "Product id is required",
invalid_type_error: "Product id is a number"
}).optional(),
name: z.string({
required_error: "A name is required",
invalid_type_error: "Name should be a string"
}),
24 replies
DTDrizzle Team
Created by wailroth on 10/22/2023 in #help
Schema to type
but in this case, with and insertProductSchema, it doesnt work
24 replies
DTDrizzle Team
Created by wailroth on 10/22/2023 in #help
Schema to type
No description
24 replies
DTDrizzle Team
Created by wailroth on 10/22/2023 in #help
Schema to type
yeah; but I didnt see something in the doc: can you set custom messages if something is missing... Like I did in my custom schema?
24 replies
DTDrizzle Team
Created by wailroth on 10/22/2023 in #help
Schema to type
i'll rtfm and stop annoying you
24 replies
DTDrizzle Team
Created by wailroth on 10/22/2023 in #help
Schema to type
oh, okay lol
24 replies