with v4, you can use extendInputType instead of extendType
register({ strapi }) {
const extensionService = strapi.plugin(‘graphql’).service(‘extension’);
extensionService.use(({ nexus }) => ({
types: [
nexus.extendInputType({
type: ‘UsersPermissionsRegisterInput’,
definition(t) {
// here define fields you need
t.string(‘AndyLai’);
},
}),
]
}));
},