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

Transform through method other than default constructor #192

Closed
Krever opened this issue Oct 21, 2020 · 3 comments · Fixed by #439
Closed

Transform through method other than default constructor #192

Krever opened this issue Oct 21, 2020 · 3 comments · Fixed by #439
Labels
dragons ahead Task which requires handwriting compiletime reflection for Scala2&3 and/or updating the architecture enhancement

Comments

@Krever
Copy link
Contributor

Krever commented Oct 21, 2020

Instead of using the default constructor, we could use an alternative method specified by the user. Typically some version of apply.

The API could look like into[Foo].via(Foo.apply).transform or sth similar.

@taeguk
Copy link

taeguk commented Jul 2, 2021

It will be very useful. Any plans about this? 🙏

@mariussoutier
Copy link

This would be really nice in order to use a companion object's apply method.

@MateuszKubuszok MateuszKubuszok added the dragons ahead Task which requires handwriting compiletime reflection for Scala2&3 and/or updating the architecture label Oct 20, 2023
@MateuszKubuszok MateuszKubuszok linked a pull request Nov 21, 2023 that will close this issue
15 tasks
@MateuszKubuszok
Copy link
Member

MateuszKubuszok commented Dec 18, 2023

Released in 0.8.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dragons ahead Task which requires handwriting compiletime reflection for Scala2&3 and/or updating the architecture enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants