Closed oliver-day closed 2 years ago
Let's open a separate issue for each point.
isni
and ipi
are optional, and they're not currently set at user creation time, so I'm not sure you'll have a way to test a fix until we've implemented an update user function. That fix will need to wait until that work is done.avatarImg
vs avatarImage
- I like avatarImage
better, but there may be a lot of existing code that already depends on avatarImg
. That might require a refactor.
1. Unable to sign-in with existing user
connection.signIn
with a valid useremail
, a"User Does Not Exist"
error message is incorrectly being thrown inconnect
because there is no_id
property in the response from the GET/api/profile/[profileId
call.STR:
email
2. All of
user
properties are not returned in GET/api/profile/[profileId]
callUser
properties are NOT being returned in response for GET/api/profile/[profileId]
call:email
isni
ipi
STR:
email
/api/profile/[profileId]
call:3. User's
avatarImg
property is NOT consistent withconnect
docsavatarImg
toavatarImage
in GraphQL scheme forUser
type to matchconnect
docsSTR:
user
collection in Fauna db byemail
avatarImg
property instead ofavatarImage
4.
connection.signIn()
not foundemail
error message does not matchconnect
docsconnection.signIn()
promise will reject with an"User Does Not Exist"
error message instead of the"Account not found"
error message described in theconnect
docs.STR:
email
/sign-in
pageUser in Fauna
user
collection:GET
/api/profile/[profileId]
header:GET
/api/profile/[profileId]
response:connect/src/user/sign-in.js
:/sign-in
page inconnect
: