You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Simplify return type of /user/get-session-user #50484
Since user.username is dynamic, it's not possible to write a serialization schema for this, which 1) reduces confidence in the data 2) likely reduces performance. Fortunately, this is not necessary. It's possible to reconstruct the above type from
{user: {// stuff including username }}
if needed. But we should be able to simplify the client, too, if we use this type.
Gotchas
The api currently overwrites username with usernameDisplay if it exists. I think the simplest solution is to provide both and leave it to the client to decide which to use.
An issue with the
help wantedOpen for all. You do not need permission to work on these.
or
first timers onlyOpen for anyone doing contributions for first time. You do not need permission to work on these.
label is open for contribution.
Activity
7twik commentedon Sep 30, 2023
I will love to solve this issue, please assign me this issue
HimanshuMahto commentedon Oct 29, 2023
hey can you tell me at what location do I need to make changes for this issue.
ShaunSHamilton commentedon Nov 3, 2023
An issue with the help wantedOpen for all. You do not need permission to work on these.
or
first timers only
Open for anyone doing contributions for first time. You do not need permission to work on these.
label is open for contribution.
If you would like to contribute, and have not read the contributors docs, please do so here: https://contribute.freecodecamp.org/#/
If you have any issues with contributing, be sure to join us on the contributors channel, or on the contributors sub-forum
moT01 commentedon Sep 12, 2024
Saving for post new API release