Skip to content

Make extensions extensible #575

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

Open
Stockless opened this issue Jun 5, 2025 · 1 comment
Open

Make extensions extensible #575

Stockless opened this issue Jun 5, 2025 · 1 comment

Comments

@Stockless
Copy link
Collaborator

Stockless commented Jun 5, 2025

In the current implementation, extensions are being handled by using a long if/elseifchain, which is not very extensible, since new extensions requires modifying this block.
As @cncastillo mentioned in PR #558 , it would be good to replace this handling with multiple dispatch, allowing the users to define their own extensions without having to modify this code.

@cncastillo
Copy link
Member

Please give more details.

@cncastillo cncastillo changed the title Make extensions extendible Make extensions extens\ible Jun 5, 2025
@cncastillo cncastillo changed the title Make extensions extens\ible Make extensions extensible Jun 5, 2025
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

No branches or pull requests

2 participants