tkhwang / readable

anti-social social bookmark and much more...
5 stars 1 forks source link

✨ (server): Add getUserProfile usecase #184

Closed tkhwang closed 3 years ago

tkhwang commented 3 years ago

Description

Type of change

me vs userProfile

me 는 따로 input 받지 않고, logged-in information 사용함.

query {
    me {
        id
        name
...
    }
}
{
    "getUserProfileInput" : {
        "userId" : "9bad5b2a-e0c6-47bf-b66d-0ee0e10ad734"
    }
}

query UserProfile($getUserProfileInput: GetUserProfileInput!) {
  userProfile(getUserProfileInput: $getUserProfileInput ) {
            id
        name
...
  }
}

Further to-do lists

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tkhwang/readable/C85TTHPxeDJpJGTLEKD9CGDh8w8S
✅ Preview: Failed

ghost commented 3 years ago

CodeSee Review Map:

Review these changes using an interactive CodeSee Map

Review in an interactive map

View more CodeSee Maps

Legend

CodeSee Map Legend