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
I haven't looked deeply into it, but it appears that there is not an implementation of IntoPropValue for types that are serde::Serialize.
I imagine this being not so difficult to implement, and would add quite some value. e.g. It would allow one to pass basic enums as a property by only derive-ing serde::Serialize, as opposed to having to implement IntoPropValue manually, which seems to be the current state of things.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I haven't looked deeply into it, but it appears that there is not an implementation of
IntoPropValue
for types that areserde::Serialize
.I imagine this being not so difficult to implement, and would add quite some value. e.g. It would allow one to pass basic
enum
s as a property by onlyderive
-ingserde::Serialize
, as opposed to having to implementIntoPropValue
manually, which seems to be the current state of things.Beta Was this translation helpful? Give feedback.
All reactions