Currently, the sign in method explicitly omits session on the resolved account object. I did not expect this behavior, as I was storing a single account reference and using the presence of session to determine if the user was "logged in" or not. (session is present after account.get(), but not account.signIn())
What is the main reason for this behavior? In my case, I want the session information after signing in, as I've just opened a new session. However, I'm very new to hoodie, so it's totally possible I'm misusing it right now.
In short, can/should sign in return the session information?
Currently, the sign in method explicitly omits
sessionon the resolved account object. I did not expect this behavior, as I was storing a singleaccountreference and using the presence ofsessionto determine if the user was "logged in" or not. (sessionis present afteraccount.get(), but notaccount.signIn())What is the main reason for this behavior? In my case, I want the session information after signing in, as I've just opened a new session. However, I'm very new to hoodie, so it's totally possible I'm misusing it right now.
In short, can/should sign in return the session information?