{"action":"closed","issue":{"url":"https://api.github.com/repos/rmosolgo/graphql-relay-ruby/issues/32","repository_url":"https://api.github.com/repos/rmosolgo/graphql-relay-ruby","labels_url":"https://api.github.com/repos/rmosolgo/graphql-relay-ruby/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/rmosolgo/graphql-relay-ruby/issues/32/comments","events_url":"https://api.github.com/repos/rmosolgo/graphql-relay-ruby/issues/32/events","html_url":"https://github.com/rmosolgo/graphql-relay-ruby/issues/32","id":142756420,"number":32,"title":"Mutation definition doesn't accept description (v0.8.0)","user":{"login":"kliuless","id":307761,"avatar_url":"https://avatars.githubusercontent.com/u/307761?v=3","gravatar_id":"","url":"https://api.github.com/users/kliuless","html_url":"https://github.com/kliuless","followers_url":"https://api.github.com/users/kliuless/followers","following_url":"https://api.github.com/users/kliuless/following{/other_user}","gists_url":"https://api.github.com/users/kliuless/gists{/gist_id}","starred_url":"https://api.github.com/users/kliuless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kliuless/subscriptions","organizations_url":"https://api.github.com/users/kliuless/orgs","repos_url":"https://api.github.com/users/kliuless/repos","events_url":"https://api.github.com/users/kliuless/events{/privacy}","received_events_url":"https://api.github.com/users/kliuless/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-22T19:38:23Z","updated_at":"2016-03-22T21:07:22Z","closed_at":"2016-03-22T21:07:22Z","body":"```ruby\r\nGraphQL::Relay::Mutation.define { name 'TestMut'; description 'Test desc' }\r\n# NoMethodError: undefined method `description=' for #<GraphQL::Relay::Mutation:0x007fdd7d2dbc90>\r\n```\r\nThis seems to be related to the refactoring of the graphql gem in v0.12. Apparently Mutation instances now need to have a `description=` setter.\r\n\r\nUpdate: I checked v0.7.1, and it doesn't have the error above, but it also doesn't actually expose the description for schema queries, so apparently it was just being ignored."}}