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

Force type safety on .setExpGetter #1082

Open
esfomeado opened this issue Nov 12, 2024 · 0 comments
Open

Force type safety on .setExpGetter #1082

esfomeado opened this issue Nov 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@esfomeado
Copy link
Contributor

Describe the feature you request

setExpGetter accepts a Object as the value but it should instead accept R since we know the type of the field because of the getter.

This way we would get compilation failures in case of type mismatch instead of failing only at runtime.

(Optional): Suggest A Solution

A concise description of your preferred solution.

If the feature request is approved, would you be willing to submit a PR?

Yes / No (Help can be provided if you need assistance submitting a PR)

@esfomeado esfomeado added the enhancement New feature or request label Nov 12, 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

No branches or pull requests

1 participant