sangria
sangria copied to clipboard
GraphQLDeprecated annotation doesn't work with scala trait fields
trait t1 { @GraphQLDeprecated("Renamed as 'f2' in release r2; To be removed in r3") def f1: String def f2: Option[String] }
The "GraphQLDeprecated" doesn't deprecate the annotated trait field f1.
I could not find a test with 'GraphQLDeprecated' annotation in trait fields. I could see case class fields annotated 'GraphQLDeprecated' though. https://github.com/sangria-graphql/sangria/search?q=GraphQLDeprecated&unscoped_q=GraphQLDeprecated