Joe
05/29/2021, 1:33 AMDariusz Kuc
05/29/2021, 2:10 AMIs there a way to use a 3rd party annotation (ie, one that I can't directly annotate with @GraphQLDirective) as a directive?no
Dariusz Kuc
05/29/2021, 2:12 AMIf not, what would need to get built out to make that possible?current logic is closely tied to that specific directive so unsure whether we could update it to be more generic you could try adding additional directives using hooks (e.g. something potentially in
didGenerateGraphQLType
or didGenerateQueryField
)Dariusz Kuc
05/29/2021, 2:12 AMDoes @Deprecated just have explicit special handling that makes that one work?yes it has special handling as it is one of the built-in directives
Joe
05/29/2021, 5:17 AMShane Myrick
05/29/2021, 6:08 PMJoe
05/29/2021, 6:35 PM