Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[client] Warn when token is used with useCdn set to true #1019

Merged
merged 2 commits into from
Oct 16, 2018

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented Oct 15, 2018

useCdn: true + token is usually a bad combination, since it will "silently" use the live API for queries and listeners. This PR adds a warning when combining the two, encouraging people to use a different combination (a few examples outlined in the linked help article)

Copy link
Member

@kmelve kmelve left a comment

Choose a reason for hiding this comment

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

This is definitely more helpful for developers 👍

Copy link
Member

@bjoerge bjoerge left a comment

Choose a reason for hiding this comment

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

👏

@rexxars rexxars merged commit 2361f3d into next Oct 16, 2018
@rexxars rexxars deleted the warn-on-usecdn-with-token branch October 16, 2018 12:17
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.

None yet

3 participants