Alexander Koltun
Results
6
issues of
Alexander Koltun
The following code has been used in the `Disposable::Twin::Property::Struct#read_value_for` to read the attribute value from the model: `@model[name.to_s] || @model[name.to_sym] ` If the model is a Hash with string keys...
``` Model = Struct.new(:content) class Nested < Disposable::Twin property :nested_property end class Outer < Disposable::Twin include Property::Hash property :content, field: hash, twin: Nested end Outer.new(Model.new({nested_property: 1})) # will fail with...
For the issue #51
If I define `enum` and use it in the object, the object property still has the type of the `enum`: ``` enum A { a = "a" } const a...
TS, Advanced, FAQs pages of the documentation web-site do not work