Project

General

Profile

« Previous | Next » 

Revision 8347a5ef

Added by Ori Rabin over 8 years ago

Fixes #10731 - Allow matches to merge with default values

View differences:

app/controllers/api/v2/smart_class_parameters_controller.rb
param :parameter_type, LookupKey::KEY_TYPES, :desc => N_("Types of variable values")
param :required, :bool, :desc => N_("If true, will raise an error if there is no default value and no matcher provide a value")
param :merge_overrides, :bool, :desc => N_("Merge all matching values (only array/hash type)")
param :merge_default, :bool, :desc => N_("Include default value when merging all matching values")
param :avoid_duplicates, :bool, :desc => N_("Remove duplicate values (only array type)")
end

Also available in: Unified diff