allow selectDynamic to have optional type parameter - unified with type of field #17818
Katrix
started this conversation in
Feature Requests
Replies: 4 comments
-
Am I right in suggesting that you want |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes. That's the gist of it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't know how hard this would be to implement internally, but I think it's worth a SIP - with some more motivating use cases |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'll try to write something up eventually |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Compiler version
3.1.0
Minimized code
Output
Expectation
I would expect selectDynamic getting the type of the field, and thus finding the typeclass associated with it.
Beta Was this translation helpful? Give feedback.
All reactions