Skip to content

Commit

Permalink
Add @schemaName annotation - typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaciv committed Jul 26, 2024
1 parent 7dda65c commit 238059d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ object FullyQualifiedHierarchy extends RestDataCompanionWithDeps[FullyQualifiedN
@flatten("case")
sealed trait CustomSchemaNameHierarchy
object CustomSchemaNameHierarchy extends RestDataCompanion[CustomSchemaNameHierarchy] {
// annotation value should be used as schema name, but NOT as discriminator value
// annotation value should be used as schema name, but NOT as type discriminator value
@schemaName("CustomSchemaName123")
case class CustomSchemaName(str: String) extends CustomSchemaNameHierarchy

// annotation value should be used both as schema name and discriminator value
// annotation value should be used as both schema name and type discriminator value
@name("CustomName123")
case class CustomName(str: String) extends CustomSchemaNameHierarchy

Expand Down

0 comments on commit 238059d

Please sign in to comment.