merge of provider and default value typed