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

[fix issue #64] No longer installing subscription handlers when disabled #76

Merged
merged 1 commit into from
May 29, 2020
Merged

[fix issue #64] No longer installing subscription handlers when disabled #76

merged 1 commit into from
May 29, 2020

Conversation

Kauabunga
Copy link
Contributor

The mixin always installs the apollo subscription handlers

  1. when there is no server
  2. subscriptions are disabled

See issue #64

Fix checks to see if serverOptions.subscriptions !== false before installing. This should enable starting an apollo gateway without subscriptions. Should also allow for tests to be run against the api without a server using supertest

…when serverOptions.subscriptions === false
@icebob icebob requested review from Hugome and shawnmcknight May 27, 2020 12:02
@icebob icebob merged commit 73f9101 into moleculerjs:master May 29, 2020
@Kauabunga Kauabunga deleted the fix/avoidSubscriptionsInstallWhenDisabled branch June 18, 2020 23:01
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