Class: Taro::Types::RailsParamsType

Inherits:
InputType show all
Defined in:
lib/taro/types/rails_params_type.rb

Overview

Abstract base class for rails declaration params. Internal use only.

Instance Method Summary collapse

Methods inherited from InputType

#coerce_response

Methods included from Shared::Fields

#field, #fields

Methods included from Shared::ObjectCoercion

#coerce_input, #coerce_response

Methods included from Shared::CustomFieldResolvers

included, #resolve?

Instance Method Details

#validate_no_undeclared_params?Boolean

Skip validation of base params because they contain rails “additions” like controller, action, routing-related stuff, de-nested values, etc.

Returns:

  • (Boolean)


7
8
9
# File 'lib/taro/types/rails_params_type.rb', line 7

def validate_no_undeclared_params?
  false
end