Annotation ContactDirective
-
- All Implemented Interfaces:
public @interface ContactDirectivedirective @contact( "Contact title of the subgraph owner" name: String! "URL where the subgraph's owner can be reached" url: String "Other relevant notes can be included here; supports markdown links" description: String ) on SCHEMAContact schema directive can be used to provide team contact information to your subgraph schema. This information is automatically parsed and displayed by Apollo Studio.
Example usage on schema class:
@ContactDirective( name = "My Team Name", url = "https://myteam.slack.com/archives/teams-chat-room-url", description = "send urgent issues to [#oncall](https://yourteam.slack.com/archives/oncall)." ) class MySchema