Modèle d'utilisateur étend Strapi

//Path: src/index.js

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('userType');
            t.string('location');
          },
        }),
      ],
    }));
    extensionService.use(({ nexus }) => ({
      types: [
        nexus.extendType({
          type: 'UsersPermissionsMe',
          definition(t) {
            // here define fields you need
            t.string('userType');
            t.string('location');
          },
        }),
      ]
    }));
  },
Md Zober