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

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
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 <[email protected]>
Co-authored-by: Georgi Krastev <[email protected]>

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

Co-authored-by: Georgi Krastev <[email protected]>

---------

Co-authored-by: kenji yoshida <[email protected]>
Co-authored-by: Lior Regev <[email protected]>
Co-authored-by: Lior Regev <[email protected]>
Co-authored-by: Dmytro Mitin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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