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
[LTB-39] Reorganise HasLens to make naming more predictable #28
base: master
Are you sure you want to change the base?
Conversation
* Bring the naming of `HasLens` & Co into line with the `lens` lib: * Rename weird `HasLens` to `HasTaggedLens` * Add `HasLens` that can change the type * Add `HasTaggedGetter` and similarly `HasGetter` * Create a relationship between `HasLens` and `HasGetter` (probably we should add `HasSetter` as well, make it a superclass of `HasLens` with a default implementation and then provide a default implementation for `HasLens` in terms of the other two). This change breaks Log and Network. Fixes for them are coming in a future commit.
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.
Who'll be fixing the compatibility issues all over everywhere?
We don't really need the tagged version, and I doubt we actually need this PR at all. |
Please, see the commit message for details.
We might not need the lens change, it is only there to reduce the confusion of naming, but we definitely do need |
Crying that I agree that we'll barely have use for tags in disciplina ever. And don't like this PR only because it changes I'm ready to resolve compatibility issues once this is merged. |
@kirelagin Don't you mind if instead of |
I think, I don’t mind. It might be there only because I couldn’t make things work without it. I honestly don’t remember. |
You mean within lootbox? |
I suppose I'll try to do that, if nothing breaks within lootbox I will assume it is alright change. |
I think so, yes, but I’m not sure. |
Please, see the commit message for details.
Do we really need the tagged versions of these classes?