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

IReadableFileRef - Extract an immutable parent interface from IFileRef #105

Open
cs-util opened this issue Oct 10, 2023 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@cs-util
Copy link
Collaborator

cs-util commented Oct 10, 2023

Currently IFileRef enforces that also setters are included in the concrete implementations of it, extract a parent interface of IFileRef that does not require setters and review in which methods a switch to this IReadableFileRef is possible.
Some of the current methods might make use of the set methods and will have to use the current IFileRef. For these methods separate new methods that use IReadableFileRef plus mutation callbacks should be created so that every helper method in cscore can also be used with IReadableFileRef objects.

@cs-util cs-util added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

1 participant