Skip to content

Conversation

@seveibar
Copy link
Contributor

No description provided.

@seveibar seveibar merged commit 020ee16 into main May 19, 2023
@seveibar seveibar deleted the fix-client-session-usage branch May 19, 2023 02:19
'Cannot provide both a clientSessionToken and a publishableKey .'
)
}
// No reason to ban this behavior, but it's unnecessary.
Copy link
Member

Choose a reason for hiding this comment

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

@seveibar The rational to do this is prevent an all to common frustrating scenario where users don't know why something is not working as expected. In this case, a user may wonder why stuff is not working because they think they are only passing one option, or they do not realize which option will 'win'. I recommend we put this check back for better ux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants