Skip to content

use playground default settings when possible#1516

Merged
martijnwalraven merged 9 commits into
apollographql:masterfrom
daggerjames:flawfix-playground-default-settings
Sep 1, 2018
Merged

use playground default settings when possible#1516
martijnwalraven merged 9 commits into
apollographql:masterfrom
daggerjames:flawfix-playground-default-settings

Conversation

@daggerjames

@daggerjames daggerjames commented Aug 10, 2018

Copy link
Copy Markdown
Contributor

Notes:
Playground can either use external settings or its default settings (browser settings), in incompatible ways. Playground source code

The original implementation of default settings here would always provide 'settings' for Playground, in turn make its own settings mechanism disabled, with consequences such as altering settings in-browser cannot work as expect.

Besides, once the default settings here go different with Playground provided, it would cause other problems. Related Issue

The intention here is to use Playground setting as default, while explicit passing Playground settings in Apollo server would still work with defaults defined here merged.

TODO:

  • Update CHANGELOG.md with your change (include reference to issue & this PR)
  • Make sure all of the significant new logic is covered by tests
  • Rebase your changes on master so that they can be merged easily
  • Make sure all tests and linter rules pass

Notes:
Playground can either use external settings or its default settings (browser settings), in incompatible ways. The original implementation of default settings here would always provide 'settings' for Playground, in turn make its own settings mechanism disabled, with consequences such as altering settings in-browser cannot work as expect. Besides, once the default settings here go different with Playground provided, it would cause other problems.

The intention here is to use Playground setting as default, while explicit passing Playground settings in Apollo server would still work with defaults defined here merged.
@apollo-cla

Copy link
Copy Markdown

@daggerjames: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

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.

4 participants