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

Have a better autocomplete system #4394

Open
remyleone opened this issue Dec 31, 2024 · 0 comments
Open

Have a better autocomplete system #4394

remyleone opened this issue Dec 31, 2024 · 0 comments
Assignees
Labels
autocomplete enhancement priority:medium Improvements that are not the main priority

Comments

@remyleone
Copy link
Member

Description

We should avoid using type cast for autocomplete because it makes the system quite brittle in case we are using custom type. Beside it is quite cumbersome to have to cast explicitely performed everytime.

We should use a generic feature to have strong typing at the moment where we call autocomplete. We should not rely on explicit cast.

A linter like forcetypeassert won't fix much. We need to find a deeper solution.

We should also look for impact on performance for autocomplete.

@remyleone remyleone self-assigned this Dec 31, 2024
@remyleone remyleone added the priority:medium Improvements that are not the main priority label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocomplete enhancement priority:medium Improvements that are not the main priority
Projects
None yet
Development

No branches or pull requests

1 participant