GraphQL: User sign up required fields (#5743)

This commit is contained in:
Douglas Muraoka
2019-07-02 16:11:45 -03:00
committed by Antonio Davi Macedo Coelho de Castro
parent 60d9327a78
commit 3d63545ab7
3 changed files with 39 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ const load = parseGraphQLSchema => {
args: {
fields: {
descriptions: 'These are the fields of the user.',
type: parseGraphQLSchema.parseClassTypes['_User'].classGraphQLInputType,
type: parseGraphQLSchema.parseClassTypes['_User'].signUpInputType,
},
},
type: new GraphQLNonNull(defaultGraphQLTypes.SIGN_UP_RESULT),