Skip to content

Rename coordinate edit method#213

Closed
bjornharrtell wants to merge 1 commit intolocationtech:masterfrom
bjornharrtell:geom-edit
Closed

Rename coordinate edit method#213
bjornharrtell wants to merge 1 commit intolocationtech:masterfrom
bjornharrtell:geom-edit

Conversation

@bjornharrtell
Copy link
Copy Markdown
Contributor

This is to solve a difficult overload situation that I haven't been able to solve in transpiling. It's a case of relying on inheritance and method overload at the same time.

As this is a breaking change so I understand if it's not acceptable. Wanted to suggest it anyway if it's known that this API is rarely used and could perhaps be changed.

Signed-off-by: Björn Harrtell <bjorn@wololo.org>
@dr-jts
Copy link
Copy Markdown
Contributor

dr-jts commented Nov 9, 2017

What about the overloaded edit method in CoordinateSequenceOperation?

That should probably be renamed for consistency, if nothing else.

@bjornharrtell
Copy link
Copy Markdown
Contributor Author

Agreed, it looks a bit inconsistent. As mentioned, already a bit hesistant on this change in the first place.. and the rename is required only because the input is an array causing a hard time resolving the overload like in some previous cases. So, I will instead see if I can work out a solution to avoid this change.

@bjornharrtell
Copy link
Copy Markdown
Contributor Author

Closing until further notice.

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