Skip to content

Support for Type Parameters #153

Open
@tilmanrossmy

Description

At the moment it is only possible to use Type classes with a wildcard, thus loosing all type information

@import TypedCaseClass
 @(typedCaseClass: TypedCaseClass[_])(implicit request: RequestHeader, 
  messages: Messages){
   //...
 }

It would be nice, if something like this would be possible:

@import TypedCaseClass
 @[T](typedCaseClass: TypedCaseClass[T])(implicit request: RequestHeader, 
  messages: Messages){
   //...
 }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions