ibrahimyaacob
ibrahimyaacob2w ago

T

No description
8 Replies
Hmza
Hmza2w ago
What error is there when you hover over userId?
ibrahimyaacob
ibrahimyaacobOP2w ago
i dont have userasdas on my schema, it suppose to refer to user table
ibrahimyaacob
ibrahimyaacobOP2w ago
typical typescript error
No description
ibrahimyaacob
ibrahimyaacobOP2w 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
Hmza2w 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
ibrahimyaacobOP2w ago
it is
ibrahimyaacob
ibrahimyaacobOP2w ago
No description
ibrahimyaacob
ibrahimyaacobOP2w ago
finally got that sweet typesafe

Did you find this page helpful?