Skip to content

fields deserializers don't need to be passed the current instance in ruby #1663

@baywet

Description

@baywet

more details #1490

To reduce the amount of generated code we can remove the object parameter from the field deserializer as the deserializer should be able to capture "this". The abstractions, http and json serialization library will need to be updated too.

"isInline" => lambda {|o, n| o.is_inline = n.get_boolean_value() }

becomes

"isInline" => lambda {|n| @is_inline = n.get_boolean_value() }

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions