Skip to content

Should Chainable#then avoid data override from external kwargs? #13

@Rynaro

Description

@Rynaro

def then(klass, **kwargs)

Is this code susceptible to override before immutable data? Example:

# data = { name: 'Rynaro' }

MyFlow.call!(params).then(MyChainedFlow, { name: 'Neo Rynaro' }) 

Should Results#data be overridden by new flow args? In case of it. Should we let the previous result data be prevalent, and avoid any override action, or raise an error?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions