{"action":"closed","issue":{"url":"https://api.github.com/repos/graphql/graphql-js/issues/262","repository_url":"https://api.github.com/repos/graphql/graphql-js","labels_url":"https://api.github.com/repos/graphql/graphql-js/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/graphql/graphql-js/issues/262/comments","events_url":"https://api.github.com/repos/graphql/graphql-js/issues/262/events","html_url":"https://github.com/graphql/graphql-js/issues/262","id":120854063,"number":262,"title":"Type introspection by Scalar Name","user":{"login":"jontonsoup","id":845636,"avatar_url":"https://avatars.githubusercontent.com/u/845636?v=3","gravatar_id":"","url":"https://api.github.com/users/jontonsoup","html_url":"https://github.com/jontonsoup","followers_url":"https://api.github.com/users/jontonsoup/followers","following_url":"https://api.github.com/users/jontonsoup/following{/other_user}","gists_url":"https://api.github.com/users/jontonsoup/gists{/gist_id}","starred_url":"https://api.github.com/users/jontonsoup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jontonsoup/subscriptions","organizations_url":"https://api.github.com/users/jontonsoup/orgs","repos_url":"https://api.github.com/users/jontonsoup/repos","events_url":"https://api.github.com/users/jontonsoup/events{/privacy}","received_events_url":"https://api.github.com/users/jontonsoup/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-07T19:56:37Z","updated_at":"2016-02-04T05:41:53Z","closed_at":"2016-02-04T05:41:53Z","body":"I posted this in the graphql repo, but it seems this issue actually should be posted here.  \r\nhttps://github.com/facebook/graphql/issues/126\r\n\r\nSay I define a Custom Scalar type: \r\n\r\n```\r\nexport var GraphQLNewFancyType = new GraphQLScalarType({\r\n  name: 'NewFancyType',\r\n   ...\r\n});\r\n\r\n```\r\n\r\nAnd use that type as an field value in an object: \r\n\r\n```\r\n...\r\n  fields: {\r\n    new_fancy_type: {\r\n      type: GraphQLNewFancyType,\r\n      description: 'A great new type!'\r\n    },\r\n...\r\n```\r\n\r\nIs there where to do an introspection query to return all the queries that use this new scalar type without listing everything recursively and doing the parsing manually?\r\n\r\nThanks!\r\nJon"}}