Hiya! ๐
I have a case where a controller method (endpoint) can have multiple versions. During the controller logic I will need to perform an action based on which version is in use. Anyone knows if its possible to read the version somehow?
Example:
class AnimalController {
@Version(['dog', 'cat'])
@Post()
createAnimal() {
if (version === 'cat') {
// Meow
}
}
}
