Skip to content

Feature: disable default mutations#182

Merged
calebmer merged 9 commits intomasterfrom
feat/disable-default-mutations
Oct 24, 2016
Merged

Feature: disable default mutations#182
calebmer merged 9 commits intomasterfrom
feat/disable-default-mutations

Conversation

@calebmer
Copy link
Copy Markdown
Collaborator

All credit goes to @grncdr on this one, this just cleans up the snapshots 😊

Original issue: #180
Closes: #170

grncdr and others added 9 commits October 23, 2016 01:38
This introduces a new CLI flag & option: --disable-default-mutations

When default mutations are disabled, the only mutation operations available
will be those exposed by user defined functions.
This seems more consistent with the rest of the codebase
@calebmer calebmer merged commit c752260 into master Oct 24, 2016
@calebmer calebmer deleted the feat/disable-default-mutations branch October 24, 2016 17:13
@ferdinandsalis
Copy link
Copy Markdown
Contributor

🎉 Thank you @grncdr

Belline pushed a commit to Belline/postgraphql that referenced this pull request Dec 18, 2017
Add an option to disable default mutations. Closes graphile#170

All credit goes to @grncdr.

This introduces a new CLI flag & option: --disable-default-mutations

When default mutations are disabled, the only mutation operations available
will be those exposed by user defined functions.

* Use options objects all the way down

This seems more consistent with the rest of the codebase

* pass disableDefaultMutations option through BuildToken

* typo

* Update docs on library usage

* Add integration test for disableDefaultMutations

* Commit updated snapshots

* Revert "Commit updated snapshots"

This reverts commit 6db9086.

* add new schema snapshot
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.

3 participants