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

Generation of genericTypeInfo does not always work #730

Open
987Nabil opened this issue Aug 16, 2024 · 9 comments
Open

Generation of genericTypeInfo does not always work #730

987Nabil opened this issue Aug 16, 2024 · 9 comments
Labels
💎 Bounty bug Something isn't working

Comments

@987Nabil
Copy link
Contributor

//This works as expected
implicit val schemaInt: Schema[GenericType[Int]] = DeriveSchema.gen

//Does not resolve T to the actual type when the macro is executed
implicit def schema[T: Schema]: Schema[GenericType[T]] = DeriveSchema.gen 

This issue exists with Scala 2 and 3

@987Nabil 987Nabil added the bug Something isn't working label Aug 16, 2024
@jdegoes
Copy link
Member

jdegoes commented Aug 29, 2024

/bounty $200

Copy link

algora-pbc bot commented Aug 29, 2024

💎 $200 bounty • ZIO

Steps to solve:

  1. Start working: Comment /attempt #730 with your implementation plan
  2. Submit work: Create a pull request including /claim #730 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to zio/zio-schema!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🔴 @shivamgupta88 Sep 6, 2024, 7:14:35 PM WIP
🟡 @promisingcoder Dec 13, 2024, 10:57:18 PM WIP

@shivamgupta88
Copy link

shivamgupta88 commented Sep 6, 2024

/attempt #730

@shivamgupta88
Copy link

I'm setting up a project locally and could use some assistance in getting the development environment up and running. Any help would be greatly appreciated!
/
Screenshot 2024-09-07 at 00 50 37

@987Nabil
Copy link
Contributor Author

987Nabil commented Sep 6, 2024

@shivamgupta88 this is not a good first issue. If you have no prior knowledge of Scala, this issue is probably unsolvable for you.

Copy link

algora-pbc bot commented Sep 13, 2024

@shivamgupta88: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏

Copy link

algora-pbc bot commented Sep 20, 2024

The bounty is up for grabs! Everyone is welcome to /attempt #730 🙌

@promisingcoder
Copy link

promisingcoder commented Dec 13, 2024

/attempt #730

Copy link

algora-pbc bot commented Dec 20, 2024

@promisingcoder: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants