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

Implement a proper endpoint/command mapper #810

Closed
4 tasks done
LuanRT opened this issue Nov 18, 2024 · 0 comments · Fixed by #812
Closed
4 tasks done

Implement a proper endpoint/command mapper #810

LuanRT opened this issue Nov 18, 2024 · 0 comments · Fixed by #812
Assignees
Labels
enhancement New feature or request

Comments

@LuanRT
Copy link
Owner

LuanRT commented Nov 18, 2024

Describe your suggestion

Currently, the Actions class is doing all the heavy lifting when an endpoint's payload needs to be modified, and it is not very efficient.

Other details

YouTube's web app uses an object that maps all endpoints/commands to their respective classes, which are responsible for providing API paths, building payloads, and more. We could do the same.

Checklist

  • I am running the latest version.
  • I checked the documentation and found no answer.
  • I have searched the existing issues and made sure this is not a duplicate.
  • I have provided sufficient information.
@LuanRT LuanRT added the enhancement New feature or request label Nov 18, 2024
@LuanRT LuanRT self-assigned this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant