Follow up for8149678d5e. Significantly reduce boilerplate required for each type in the switch node.Forward compatibility in 4.0 provided by0ea193bdb3. Co-authored-by: Hans Goudey <hans@blender.org> Pull Request: https://projects.blender.org/blender/blender/pulls/113413