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

Hoist constants from Sqids.Builder to Sqids #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robhanlon22
Copy link
Contributor

Since Sqids.Builder doesn't do anything with these constants behavior-wise, it makes sense to me to hoist the constants to Sqids so they're easier to see. Since these constants are now in the top-level Sqids class, I've also made Sqids.Builder package-private since it's not meant to be instantiated directly.

I also added a few things to the .gitignore that showed up in my coding environment.

Since Sqids.Builder doesn't do anything with these constants
behavior-wise, it makes sense to me to hoist the constants to Sqids so
they're easier to see. Since these constants are now in the top-level
Sqids class, I've also made Sqids.Builder package-private since it's not
meant to be instantiated directly.

.gitignore has also been updated to ignore the .project file that was
generated by my dev environment.
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.

1 participant