module T::Props::GeneratedCodeValidation
def self.validate_deserialize_handle_nil(node)
def self.validate_deserialize_handle_nil(node) :str, :sym, :int, :float, :true, :false, :nil, :const # rubocop:disable Lint/BooleanSymbol constants are safe arg = node.children _missing_from_deserialize(%<prop>) equired_prop_missing_from_deserialize, method) ym, arg.type) self_class_decorator corator.raise_nil_deserialize_error(%<serialized_form>) aise_nil_deserialize_error, method) tr, arg.type) default corator.props_with_defaults.fetch(%<prop>).default end, receiver.type) inner_method, inner_arg = receiver.children _class_decorator, :props_with_defaults), r, etch, inner_method) ym, inner_arg.type) nError.new("Unexpected receiver in nil handler: #{node.inspect}") rror.new("Unexpected nil handler: #{node.inspect}")