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

Refactor: remove the consumer argument from createEmbedSpec #29

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

jonathonherbert
Copy link
Contributor

What does this change?

Removes the consumer function that's passed through createEmbedSpec. It's not used by createEmbedSpec, and is necessarily already in scope in the consumer context – so we don't need it as an argument. This simplifies the signature of createEmbedSpec.

How to test

This is a no-op – test should pass as before.

@jonathonherbert jonathonherbert changed the title Jsh/consumer refactor Refactor: remove the consumer argument from createEmbedSpec May 26, 2021
@jonathonherbert jonathonherbert requested a review from a team May 26, 2021 12:45
Base automatically changed from jsh/better-names to main June 7, 2021 10:12
Copy link
Contributor

@SHession SHession left a comment

Choose a reason for hiding this comment

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

LGTM!

@jonathonherbert jonathonherbert merged commit a9e960b into main Jun 7, 2021
@jonathonherbert jonathonherbert deleted the jsh/consumer-refactor branch June 7, 2021 11:12
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants