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

Apply missing spread operator to method calls #381

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

jaswilli
Copy link
Contributor

The metrics service refactor (#297) dropped the argument spreading from the convenience methods which call invoke() so they're currently broken as of the 1.4 release.

Copy link
Contributor

@jherdman jherdman left a comment

Choose a reason for hiding this comment

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

Oof... It looks like these methods are never called in the tests. Are you interested in adding a test for these too?

@jaswilli
Copy link
Contributor Author

jaswilli commented Nov 22, 2021

Happy to add some tests. If you want to merge and release this to stop the fire I promise to follow up with another PR with some tests.

(Actually, I should rephrase--I'll work on some tests later today and if this has been merged before I'm finished I'll just open a new PR)

@jherdman
Copy link
Contributor

@jaswilli sounds like a plan! I'm merging and releasing now.

@jherdman jherdman merged commit 404bd77 into adopted-ember-addons:master Nov 22, 2021
@jaswilli jaswilli deleted the fix-invoke-options branch November 22, 2021 19:54
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