Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass context to initialize_with #1648

Open
mike-burns opened this issue May 10, 2024 · 0 comments
Open

Pass context to initialize_with #1648

mike-burns opened this issue May 10, 2024 · 0 comments
Labels

Comments

@mike-burns
Copy link
Contributor

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 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant