Skip to content
New issue

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

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

Already on GitHub? # to your account

Add support for Generic materialized in macro-generated companion object of nested case class #1286

Conversation

DmytroMitin
Copy link
Contributor

@DmytroMitin DmytroMitin commented Nov 13, 2022

Possibly fixes #1287

@DmytroMitin DmytroMitin changed the title [WIP] Add support for Generic materialized in companion object of nested case class [WIP] Add support for Generic materialized in macro-generated companion object of nested case class Nov 13, 2022
@DmytroMitin DmytroMitin marked this pull request as ready for review November 14, 2022 02:00
@DmytroMitin DmytroMitin changed the title [WIP] Add support for Generic materialized in macro-generated companion object of nested case class Add support for Generic materialized in macro-generated companion object of nested case class Nov 14, 2022
@joroKr21
Copy link
Collaborator

Nice thanks. At some point I think I tried to make the constructor default for case classes but it didn't work. I don't remember why exactly. You could try and see which tests fail. I also wonder if we should provide the generic macro annotation as functionality.

@joroKr21 joroKr21 merged commit df313df into milessabin:main Apr 25, 2024
7 checks passed
joroKr21 added a commit to joroKr21/shapeless that referenced this pull request Apr 25, 2024
…case class (milessabin#1286)

Co-authored-by: Georgi Krastev <joro.kr.21@gmail.com>
joroKr21 added a commit that referenced this pull request Apr 26, 2024
* add explicit type for implicit def (#1330)

* Concrete return type for `MkFieldLens.mkFieldLens` (#1324)

Co-authored-by: Lior Regev <lior.regev@placer.ai>
Co-authored-by: Georgi Krastev <joro.kr.21@gmail.com>

* Add support for `Generic` materialized in companion object of nested case class (#1286)

Co-authored-by: Georgi Krastev <joro.kr.21@gmail.com>

---------

Co-authored-by: kenji yoshida <6b656e6a69@gmail.com>
Co-authored-by: Lior Regev <lioregev@gmail.com>
Co-authored-by: Lior Regev <lior.regev@placer.ai>
Co-authored-by: Dmytro Mitin <DmytroMitin@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generic is not materialized in macro-generated companion object of nested case class
2 participants