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 generic from Deepgram #50

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

andrewhalle
Copy link
Contributor

The Deepgram struct is unnecessarily generic. Storing the API key as a generic offers flexibility which probably isn't warranted by any use cases.

Fixes #49

Proposed changes

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update or tests (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING.md doc
  • I have added tests and/or examples that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

The `Deepgram` struct is unnecessarily generic. Storing the API key as a
generic offers flexibility which probably isn't warranted by any use
cases.

Fixes #49
@andrewhalle andrewhalle requested a review from mweber15 August 4, 2023 00:12
Copy link
Contributor

@mweber15 mweber15 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 to me!

@andrewhalle andrewhalle merged commit 7a32470 into dev Aug 4, 2023
@andrewhalle andrewhalle deleted the andrewhalle/remove-generic branch August 4, 2023 14:40
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