FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Move parsing method to PlaceholderExpansion by Andre601 · Pull Request #824 · PlaceholderAPI/PlaceholderAPI · GitHub

Move parsing method to PlaceholderExpansion - #824

Draft
Andre601 wants to merge 2 commits into
masterfrom
feature/move-parsing-method
Draft

Move parsing method to PlaceholderExpansion#824
Andre601 wants to merge 2 commits into
masterfrom
feature/move-parsing-method

Conversation

Copy link
Copy Markdown
Collaborator

Pull Request

Type

  • Internal change (Doesn't affect end-user).
  • External change (Does affect end-user).
  • Wiki (Changes towards the Wiki).
  • Other: __________

Description

This is a proposal to move the on(Placeholder)Request(...) from the separate PlaceholderHook class to the PlaceholderExpansion class.

The PlaceholderHook is somewhat useless now since it only is used for the aforementioned methods, which can easily be moved to the PlaceholderExpansion class without major issues.
To not have completely breaking changes are the new methods by default simply calling the now deprecated ones, but it should be encouraged to move on to the new methods.

I'll keep this a draft to prevent accidental merging and because I first want to have a discussion here to see the points in favour and against this change (It could also serve as a heads up, IF it would be accepted, so that devs knows what would come.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL