Create our own casting class for GraphQL ID_TYPE
The following discussion from !29897 (merged) should be addressed:
-
@lulalala started a discussion: (+2 comments) Since we are accepting global ids in many places now and they all require
parse
, could we define our own casting class so we won't have to manuallyparse
in each class? (similar to https://github.com/rmosolgo/graphql-ruby/blob/master/lib/graphql/types/iso_8601_date.rb)