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

airframe-http-router/grpc: Scala 3 support #2194

Closed
3 tasks done
xerial opened this issue May 27, 2022 · 0 comments · Fixed by #2666
Closed
3 tasks done

airframe-http-router/grpc: Scala 3 support #2194

xerial opened this issue May 27, 2022 · 0 comments · Fixed by #2666
Assignees
Milestone

Comments

@xerial
Copy link
Member

xerial commented May 27, 2022

For example, we need to:

def regiterTraitFactory[A] = ... (macro impl)

// If A is a trait, create a factory to instantiate A. Writing this type of macros is not yet supported in Scala 3.1.x
registerTraitFactory(Surface.of[A}, { (s: Session) => new A {}  })
@xerial xerial added this to the Scala 3 milestone May 27, 2022
@xerial xerial changed the title airframe-http-router: Scala 3 support airframe-http-router/grpc: Scala 3 support Jun 1, 2022
@xerial xerial self-assigned this Sep 27, 2022
xerial added a commit that referenced this issue Dec 24, 2022
@xerial xerial linked a pull request Dec 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants