How do we achieve api versioning in graphql

My question is how can I make 2 different typesDef for 2 version. For example v1 we have name and email and for v2 we have name, email, age.

extend type Query {
myExampleList(version: String): MyExampleList,

}
can I set MyExampleList dynamically?