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
I somewhat like keeping the object arguments, since the structural typing of TS (and general vanilla JS semantics) should let you provide an already-hydrated user object in a lot of cases, assuming it has an id property (probably common) and/or username (realistically less common, although still works nice on many auth forms)
The text was updated successfully, but these errors were encountered:
Related to #48 (and, to lesser degrees, #36 and #47) , keeping the method names more consistent would also be quite valuable.
Here's about where I'm at, modulo naming tweaks from #48:
I somewhat like keeping the object arguments, since the structural typing of TS (and general vanilla JS semantics) should let you provide an already-hydrated user object in a lot of cases, assuming it has an
id
property (probably common) and/orusername
(realistically less common, although still works nice on many auth forms)The text was updated successfully, but these errors were encountered: