Skip to content

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

@xerial

Description

@xerial

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 {}  })

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions