Skip to content

Extensibility improvements #133

@dakujem

Description

@dakujem

Hello, let me first thank you all for creating and maintaining this wonderful tool.

The problem

We used LeanMapper in several projects some 2 years back and hit a concrete wall when we wanted to extend it. We really thought the project was dead back then.
We had no other choice but to create a complete copy (fork) of LM just to change the visibility of a couple of private props and methods to protected.
We needed to use LM in a way that was not standard and deviated from it's original purpose. Never the less, extensibility should be one of the primary concerns of any good library.

Possible solution

I can propose props and methods that should be shifted from the darkness of the private possession into the generous protected sphere. This would be the beginning.

private -> protected

Things to consider

I know that with adding more stuff to the protected or public visibility more concerns about the future/backward compatibility arise.
But the library is quite stable already and until now it was not really possible to extend it anyway 😉

Possible benefits

I've already mentioned the extensibility is the primary benefit this change would bring.
There could be more maintainers / contributors.
We have heavily extended the library and I am willing to share our ideas and solutions and help this library progress.

Let us discuss this. Then I would prepare a PR.

By "we" I mean myself and my colleagues from Via Aurea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions