proto-kit / framework

Apache License 2.0
27 stars 10 forks source link

Investigate support for instance methods in runtime state & arguments #167

Open maht0rz opened 3 months ago

maht0rz commented 3 months ago

Is your feature request related to a problem? Please describe. Currently the state api casts the result of .fromFields(...) as ValueType, but in reality its NonMethods<ValueType>. This can lead to issues with the state return values being incorrectly instantiated.

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.