Mohan
Mohan
Explore posts from servers
WWasp-lang
Created by Mohan on 9/23/2024 in #đŸ™‹questions
how do write to my entity from custom api
@kapa.ai how do i run my client in a custom port
12 replies
WWasp-lang
Created by Mohan on 9/23/2024 in #đŸ™‹questions
how do write to my entity from custom api
@kapa.ai how do i run my client in a custom port
12 replies
WWasp-lang
Created by Mohan on 9/23/2024 in #đŸ™‹questions
how do write to my entity from custom api
oh yeh got it
12 replies
WWasp-lang
Created by Mohan on 7/2/2024 in #đŸ™‹questions
Connecting to socials
got it thanks, just realising 1 year before we didnt have any of these. llm's made everything so much easier
10 replies
WWasp-lang
Created by Mohan on 7/2/2024 in #đŸ™‹questions
Connecting to socials
@miho is it possible to access the bot directly instead of discord?
10 replies
WWasp-lang
Created by Mohan on 7/2/2024 in #đŸ™‹questions
Connecting to socials
@miho thanks, I asked if even those were scaffolded. I have implemented the insta login now. Thanks
10 replies
WWasp-lang
Created by Mohan on 6/16/2024 in #đŸ™‹questions
sample code for reading a document from db and parsing it to json from the action
@kapa.ai so json.stringify made it into string but instead i have to read a key called comments which has array how do i do it
22 replies
WWasp-lang
Created by Mohan on 6/16/2024 in #đŸ™‹questions
sample code for reading a document from db and parsing it to json from the action
@kapa.ai I have this const post = await context.entities.PostComments.findUnique({ where: { postId: args.postId } }) If i do JSON.stringify(post) i get an error saying Argument of type '(GetResult<{ id: string; postId: string; comments: JsonValue; createdAt: Date; updatedAt: Date; }, unknown> & {}) | Promise<GetResult<{ id: string; postId: string; comments: JsonValue; createdAt: Date; updatedAt: Date; }, unknown> & {}>' is not assignable to parameter of type 'SetStateAction<any[]>'
22 replies
WWasp-lang
Created by Mohan on 6/16/2024 in #đŸ™‹questions
sample code for reading a document from db and parsing it to json from the action
@kapa.ai ?
22 replies
WWasp-lang
Created by Mohan on 6/16/2024 in #đŸ™‹questions
sample code for reading a document from db and parsing it to json from the action
@kapa.ai I have this const post = await context.entities.PostComments.findUnique({ where: { postId: args.postId } })
If i do JSON.stringify(post) i get an error saying Argument of type '(GetResult<{ id: string; postId: string; comments: JsonValue; createdAt: Date; updatedAt: Date; }, unknown> & {}) | Promise<GetResult<{ id: string; postId: string; comments: JsonValue; createdAt: Date; updatedAt: Date; }, unknown> & {}>' is not assignable to parameter of type 'SetStateAction<any[]>'.
22 replies
WWasp-lang
Created by Mohan on 6/16/2024 in #đŸ™‹questions
sample code for reading a document from db and parsing it to json from the action
@kapa.ai lets say if i do findunique what is the return type i get and how do i parse it to json
22 replies
WWasp-lang
Created by Mohan on 4/27/2024 in #đŸ™‹questions
signup
@sodic thanks for reminding. Will post the solutions tomorrow
27 replies
WWasp-lang
Created by Mohan on 4/29/2024 in #đŸ™‹questions
Auth
Thanks, @sodic . I was able to figure it out. I'm thinking of writing about how I did it this weekend. I'll cross-check this thread, and if I did anything more or different, I'll write about it there
24 replies
WWasp-lang
Created by Mohan on 4/29/2024 in #đŸ™‹questions
Auth
Make sense. Thanks @miho
24 replies
WWasp-lang
Created by Mohan on 4/29/2024 in #đŸ™‹questions
Auth
or is there a way to do it?
24 replies
WWasp-lang
Created by Mohan on 4/29/2024 in #đŸ™‹questions
Auth
@miho @sodic can I assume that server debugging is not possible now?
24 replies
WWasp-lang
Created by Mohan on 4/29/2024 in #đŸ™‹questions
Auth
@kapa.ai how i run debugger with ths
24 replies
WWasp-lang
Created by Mohan on 4/27/2024 in #đŸ™‹questions
signup
Solved
27 replies
WWasp-lang
Created by Mohan on 4/29/2024 in #đŸ™‹questions
Auth
Solved
24 replies
WWasp-lang
Created by Mohan on 4/29/2024 in #đŸ™‹questions
Auth
@kapa.ai how do i mark this as solved
24 replies