Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

fix: don't require session after signup #87

Merged
merged 4 commits into from Aug 12, 2022

Conversation

Vinzent03
Copy link
Contributor

@Vinzent03 Vinzent03 commented Aug 11, 2022

fixes supabase/supabase-flutter#182
See my comment for a question regarding the sign in event and strange naming of data.

Copy link
Member

@dshukertjr dshukertjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick and amazing work here!

Could we also fix this test to check if session is null but user exists and remove the try/catch?

I think it's okay to add the property of GotrueSessionResponse to session from data update in this PR as well!

@Vinzent03
Copy link
Contributor Author

I see that GotrueResponse has a rawData field, which is not set by subclasses. Should I fix that as well or should it be null?

@dshukertjr
Copy link
Member

@Vinzent03
I think it's fine to leave it as is, but am also curious how you would go about fixing it! Would it be okay if you show it to me real quick in this PR?

Copy link
Member

@dshukertjr dshukertjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the amazing work!

@dshukertjr dshukertjr merged commit bc11143 into supabase:main Aug 12, 2022
@Vinzent03 Vinzent03 deleted the issue182 branch August 12, 2022 08:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

signUp creates an account but throws an exception
2 participants