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

Add option to optionally disable GRPC or HTTP server #53

Merged
merged 3 commits into from Feb 12, 2018
Merged

Conversation

rthewhite
Copy link
Contributor

No description provided.

src/rservice.ts Outdated
config?: Array<ConfigOption>;
events?: {
subscribers?: Array<{ new(...args: any[]): Subscriber }>;
}
},
disableGRPC?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't particularly like the approach of introducing additional optional parameters for RService. I would rather have these parameters passed in the Config instance instead and then access them within constructor using .get() method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed it to be Config options.

@mishok13 mishok13 merged commit 829dd22 into master Feb 12, 2018
@mishok13 mishok13 deleted the disable-grpc branch February 12, 2018 12:55
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

2 participants