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

Move endpoint configuration to class #542

Merged
merged 1 commit into from
Apr 20, 2020
Merged

Move endpoint configuration to class #542

merged 1 commit into from
Apr 20, 2020

Conversation

fractalwrench
Copy link
Contributor

Goal

Moves the configuration of the notify + sessions endpoint to a class, to match the notifier spec.

Changeset

Altered the setEndpoints method into a public property of type BugsnagEndpointConfiguration. Updated existing test coverage to use new syntax.

@fractalwrench fractalwrench marked this pull request as ready for review April 16, 2020 09:40
@fractalwrench fractalwrench force-pushed the v6-endpoints branch 3 times, most recently from 14adf5f to 01d1c59 Compare April 16, 2020 11:27
Copy link
Contributor

@robinmacharg robinmacharg left a comment

Choose a reason for hiding this comment

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

Looks good. One small point: I think BugsnagEndpoints reads better than BugsnagEndpointConfiguration. Would you be amenable to search-and-replacing it?

@robinmacharg robinmacharg self-requested a review April 17, 2020 14:37
@fractalwrench fractalwrench force-pushed the v6-endpoints branch 3 times, most recently from f1ae0e9 to 1fc7a38 Compare April 17, 2020 16:49
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.

2 participants