Use unwrap rather than manually iterating over type chain
Use unwrap rather than manually iterating over type chain

Co-authored-by: Robert Mosolgo <c0c89ac16bb6d69d2579654bddcaa51e138b5079@github.com>
nevesenin/graphql-ruby,rmosolgo/graphql-ruby,rmosolgo/graphql-ruby,nevesenin/graphql-ruby,nevesenin/graphql-ruby,rmosolgo/graphql-ruby,rmosolgo/graphql-ruby,nevesenin/graphql-ruby