supabase-community / gotrue-swift

A Swift client library for GoTrue.
MIT License
36 stars 31 forks source link

Make it easier to call session start for Partner login #25

Closed ky1ejs closed 2 years ago

ky1ejs commented 2 years ago

I'd imagine it to be fairly common that when a user of gotrue-swift wants to complete the Partner sign in process and start a session, they don't care about the Session that is created.

grdsdev commented 2 years ago

Is that the only place you think is good to have the @discardableResult?

ky1ejs commented 2 years ago

Hey @grsouza, I think most of the sign in functions could use this change. I'm happy to add those.

grdsdev commented 2 years ago

@ky1ejs I've added it in a couple more places here (https://github.com/supabase-community/gotrue-swift/pull/26) and I just bump a new release https://github.com/supabase-community/gotrue-swift/releases/tag/0.0.5