Use if / elsif to avoid creating a proc
Use if / elsif to avoid creating a proc

rmosolgo/graphql-ruby,rmosolgo/graphql-ruby,nevesenin/graphql-ruby,nevesenin/graphql-ruby,rmosolgo/graphql-ruby,xuorig/graphql-ruby,xuorig/graphql-ruby,nevesenin/graphql-ruby,nevesenin/graphql-ruby,rmosolgo/graphql-ruby,xuorig/graphql-ruby