case '{{method}}': return { ...state, {{parameter}}: action.{{parameter}} };