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

Convert ResourceHandler to class (Removes ts-ignore from app options) #6043

Closed
wants to merge 7 commits into from

Conversation

kpal81xd
Copy link
Contributor

@kpal81xd kpal81xd commented Feb 6, 2024

Fixes #5986

This PR converts the ResourceHandler interface into a class and all implementations into child classes. This removes the need to add @ts-ignore to each Handler used in app options in examples

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@mvaligursky
Copy link
Contributor

related to #5574

@kpal81xd kpal81xd requested review from kungfooman and a team February 6, 2024 11:29
@kungfooman
Copy link
Collaborator

Looks good to me besides the mentioned superfluous app assignments which are also in:

  • SceneHandler
  • ScriptHandler
  • TemplateHandler

@kpal81xd
Copy link
Contributor Author

kpal81xd commented Feb 6, 2024

Looks good to me besides the mentioned superfluous app assignments which are also in:

  • SceneHandler
  • ScriptHandler
  • TemplateHandler

Just commit to fix all those rn 👍

Copy link
Collaborator

@kungfooman kungfooman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Copy link
Member

@slimbuck slimbuck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! (Pls get a second approval before merging).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants