-
Notifications
You must be signed in to change notification settings - Fork 16
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
Be able to turn off instances in password-instances
#65
Comments
Related to #1. Basically both would be ways to pick and choose exactly which instances / dependencies to use. |
Ah, you're right. Though I'd maybe rather do it in |
I think there are definitely situations where splitting up password-instances into multiple packages could be easier for the end-user (although like you say, not necessarily easier for us, the maintainers). Here's an example. Let's say we decide to add flags to flowchart TD;
myapp --> password-instances[password-instances with only aeson flag enabled];
Now, we want to depend on another library, which also has a dependency on flowchart TD;
myapp --> password-instances[password-instances with only aeson flag enabled];
myapp --> some-library
some-library --> password-instances;
Now, the end-user will get an compilation error when they try to build So the downside of not splitting up Splitting up flowchart TD;
myapp --> password-instances-aeson;
myapp --> some-library
some-library --> password-instances-persistent;
|
That is true, but like the current If they then get a compilation error of the thing they turned off because of transient dependencies, they can just turn it back on, no? 🤔 |
Either end users aren't aware of the flags (and they get really big dependency trees whenever they depend on I'd argue that splitting |
Hmmmm, ok, that's a pretty good point, I guess. Maybe we can add flags to the instances package as a last update, when we also "deprecate" it? Just to give power users more control if they're somehow stuck using |
@Vlix Oh, I guess I should be clear that I'm thinking we should split So in that setup, I agree that potentially having flags in Footnotes
|
password-instances
password-instances
The same way you can turn off certain algorithms in
password
with the #63 PR, we could also have flags to turn of instances and with them dependencies ofpassword-instances
(since especiallyaeson
andpersistent
can really bloat your dependency tree if you're not even using them)The text was updated successfully, but these errors were encountered: