anyone have experience extending the auth/email-pa...
# prisma-whats-new
m
anyone have experience extending the auth/email-password template? I need to add a few fields. I've added them in my User type and that was enough in the legacy integration, but it's rejecting it now.
a
Are any of your new fields required?
m
yes, all three 🙂
In your local file
m
hmm. ok thanks. Do I also then need to add them to the signup.graphql file?
a
Yes, if you want to pass them in
m
I do. Ok - I will add to both.
thank you!
😎 1
I just get unexpected errors... but the functions area of the console won't show any logs. Anywhere I can get more info on what's going wrong?
looks like it'll walk me through it. thanks again!
oh wow. that worked. Lines 5 and 20 - in addition to the ones you points out - also needed the update.
a
Lines 5 and 20?
In which file?
m
same one, signup.ts
5 to fetch the fields from event.data, and then line 20 to update the function call to the function that I updated
a
Ah, that's actually 24 and 42 in the file I linked, that's why I was a bit confused.
😳 1
But glad you found the missing pieces
m
oh, right. yup. sorry for the confusion