-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
feat!: add a way to specify a plugin name #32
Conversation
This refactors the config option to allow for custom plugin names for people who want to use this tool with a plugin BREAKING: This completely changes the configuration Struct into a custom one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks heaps for this PR!
Have left some comments which should be pretty easy to resolve and then we can ship this to the v2 branch.
I would also prefer if the nix stuff isn't committed to the repo.
Should I rather add that in a seperate PR? Once LGTM you can remove the |
Added methods for changing the plugin name and specta config
…ring For consistency and to allow non-heap-allocated strings
I would rather just remove the Nix-related files before merging this PR! Nix is very cool but I don't use it and from my understanding, it isn't used widely enough for it to be worth adding extra clutter to the root of the repo. |
What I meant is remove the files before the merge but first make sure the rest is alright. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes but left a few more comments.
Sorry, I misread your last message. Happy to keep the Nix stuff until the PR is ready to merge!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the fixes. Just that one more fix and it should be good.
Remove the nix files and I am happy to merge this into the v2 branch. I am going to hold off doing a release until I finish some more work on Specta's next release candidate and release it. You should be able to safely lock to a Git commit for now, but be aware you will want to use |
Thanks heaps for your contribution. This has come up before and is very needed feature! |
This refactors the config option to allow for custom plugin names for people who want to use this tool with a plugin
BREAKING: This completely changes the configuration Struct into a custom one
This also adds a
flake.nix
with a devshell for NixOS users. Not sure if that should also be in this PR