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

fix: removed the configuration from the filesystem provider and used the one in the filesystem instead. #598

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

Conversation

sielenk-yara
Copy link
Contributor

@sielenk-yara sielenk-yara commented Jan 16, 2025

This is a fix for issue #597.

Copy link
Contributor

@markjschreiber markjschreiber 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. Some things to change:

  1. The public method should be deprecated rather than removed (a breaking change).
  2. Add unit tests to demonstrate that the configuration has been set to prevent regressions in the future.

@sielenk-yara sielenk-yara force-pushed the fix-configuration-scope branch from bd49948 to 800dc6d Compare January 23, 2025 09:44
@sielenk-yara sielenk-yara force-pushed the fix-configuration-scope branch 2 times, most recently from 1f7a562 to 615d917 Compare February 5, 2025 12:26
@sielenk-yara
Copy link
Contributor Author

Since this is not possible without breaking changes, do you want to leave this PR pending until the next major release happens?

@markjschreiber
Copy link
Contributor

We could definitely deprecate the old method. I'm also wondering if there is a way that the old method can call the new method in the FileSystemProvider?

Either way, even without a major version change we should deprecate the old method and tell people to use the new one instead and then remove the deprecated method with the next major version. Especially as the old method has limited utility.

@sielenk-yara sielenk-yara force-pushed the fix-configuration-scope branch 2 times, most recently from e229de4 to 6bf4de9 Compare February 12, 2025 08:53
@sielenk-yara sielenk-yara force-pushed the fix-configuration-scope branch from 6bf4de9 to c583d74 Compare February 28, 2025 09:44
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