You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same as Field[A] have a label, record and enums could have a name, so in the following example getName method would be able to return "Person" String with the help of Schema
case class Person(name: String, age:Int)
def getName[A](implicit i: Schema[A]) : String = ???
assertTrue(getName[Person] == "Person")
The text was updated successfully, but these errors were encountered:
* capture the name of the record inside record schema
* captured singleton name of enum inside prism
* added type id to enumerations
* self review
* 2.13 compilation fix
* 2.13 compilation fix
* formatting
* stack overflow fix
* formatting
* implementation for scala 3
* 2.12 fix compilation of singleton types
* format
* fixed avro codec naming
* fmt
The same as Field[A] have a label, record and enums could have a name, so in the following example getName method would be able to return "Person" String with the help of Schema
The text was updated successfully, but these errors were encountered: