You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That would change hundreds of functions and i don't know how that interface would have to look like. Can you add implementations of custom interfaces to built-in types? If that works, would that require casting every input to that interface before passing it to the charting functions?
I'd love to review a PR that would not affect the current usage and add the desired support, but I am not sure if it is possible (feel free to prove me wrong though!).
Activity
kMutagene commentedon Aug 13, 2025
Hey @games, thanks for bringing this up.
Date/TimeOnlydo not support theIConvertibleinterface, so I'm afraid there is not much we can do about this.games commentedon Aug 24, 2025
Or maybe instead of using IConvertible , we should create a custom interface?
kMutagene commentedon Aug 24, 2025
That would change hundreds of functions and i don't know how that interface would have to look like. Can you add implementations of custom interfaces to built-in types? If that works, would that require casting every input to that interface before passing it to the charting functions?
I'd love to review a PR that would not affect the current usage and add the desired support, but I am not sure if it is possible (feel free to prove me wrong though!).