import {
  GraphQLString,
  GraphQLObjectType,
} from 'graphql';

const AuthorType = new GraphQLObjectType({
  name: 'Author',
  fields: {
    id: {
      type: GraphQLString,
    },
    name: {
      type: GraphQLString,
    },
    profile_handle: {
      type: GraphQLString,
    },
    href: {
      type: GraphQLString,
      resolve: ({ profile_handle }) => `/${profile_handle}`,
      deprecationReason: "Profiles and thus artist hrefs don't exist anymore",
    },
  },
});

export default AuthorType;

@@ -413,16 +413,34 @@
 rofiles 
+have been removed 
 and thus
@@ -445,13 +445,13 @@
 us a
-rtist
+uthor
  hre
@@ -472,16 +472,17 @@
  anymore
+.
 %22,%0A    %7D

Improve deprecation reason.