Currently, there is not a direct method to rename an existing graph variant.
However, to achieve the same effect, you can publish a new graph variant either from Apollo Server or via the Rover CLI.
See documentation on managing variants in Apollo Studio, schema registration via schema reporting, and schema registration via the Rover CLI for details on how to create new variants.
After the new variant is published, you can safely delete the old variant with the name that you no longer wish to use from the graph settings page in Apollo Studio, under the variants tab.
Please note that metrics are associated with graph variants, if you have any historical metrics that you want to retain, you may want to avoid deleting the old variant.
Comments
0 commentsPlease sign in to leave a comment.