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: implement functional options pattern consistently #60

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

jhoward-lm
Copy link
Contributor

This PR implements the functional options pattern across all save* methods in store.go.

Diff against previous branch in the PR series: link

Depends on #58

Note

Only the following files are manually modified; the rest are auto-generated

  • backends/ent/*.go
  • internal/backends/ent/schema/*.go

/cc @ashearin @lmphil @pkwiatkowski1 @Strakeln @jmayer-lm @EphraimEM

@jhoward-lm jhoward-lm added enhancement New feature or request go Pull requests that update Go code labels Jan 14, 2025
@jhoward-lm jhoward-lm self-assigned this Jan 14, 2025
@jhoward-lm jhoward-lm force-pushed the save-methods-functional-opts branch from ef0bad7 to 32da4ad Compare January 16, 2025 19:06
Copy link
Member

@puerco puerco left a comment

Choose a reason for hiding this comment

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

Awesome 🚀

@jhoward-lm jhoward-lm merged commit df1a7d8 into protobom:main Jan 16, 2025
2 checks passed
@jhoward-lm jhoward-lm deleted the save-methods-functional-opts branch January 16, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants