ibrahimyaacob
ibrahimyaacob2mo ago

T

No description
8 Replies
Hmza
Hmza2mo ago
What error is there when you hover over userId?
ibrahimyaacob
ibrahimyaacobOP2mo ago
i dont have userasdas on my schema, it suppose to refer to user table
ibrahimyaacob
ibrahimyaacobOP2mo ago
typical typescript error
No description
ibrahimyaacob
ibrahimyaacobOP2mo ago
but not caught by convex dev what i did is just to demo, basically, all kinds of function failure is somewhat bypassed @Hmza got any clue ? ah okay i figured it out somewhat tsconfig is missing in the convex folder
Hmza
Hmza2mo ago
v.id() suppose to have your table name. in this case i assume it'll be the table name you used to store users tsconfig should not have something missing by default unless you modified it yourself can you try v.id("youruserstablename")
ibrahimyaacob
ibrahimyaacobOP2mo ago
it is
ibrahimyaacob
ibrahimyaacobOP2mo ago
No description
ibrahimyaacob
ibrahimyaacobOP2mo ago
finally got that sweet typesafe

Did you find this page helpful?