Skip to content

Instantly share code, notes, and snippets.

@ariskk
Created January 9, 2019 08:51
Show Gist options
  • Save ariskk/0ec68cbad4f367a3f8bda063f77667c5 to your computer and use it in GitHub Desktop.
Save ariskk/0ec68cbad4f367a3f8bda063f77667c5 to your computer and use it in GitHub Desktop.
trait TypeInfo {
implicit val fooTypeInfo = TypeInformation.of(classOf[Foo])
implicit val barTypeInfo = TypeInformation.of(classOf[Bar])
implicit val bazTypeInfo = TypeInformation.of(classOf[Baz])
}
object TypeInfo extends TypeInfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment