Fixed compilation in case there are enums (::new does not work on enums which are singelton classes)
Fixed compilation in case there are enums (::new does not work on enums which are singelton classes)

dotansimha/graphql-code-generator,dotansimha/graphql-code-generator,dotansimha/graphql-code-generator