Skip to content

Pass context to initialize_with #1648

Description

@mike-burns

This might be a duplicate of #1639.

Giving the context to initialize_with would give access to the transient attributes when building the object. This way we can make decisions while building the object.

We'll need to make sure we don't break existing, clever code in the process, e.g.

initialize_with { _1 }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions