-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No document for mutation with multiple arguments #33
Comments
The latest version is showing the comments correctly. Which one are you using? |
I installed it as a dependence:
And that's what I got when running |
Could you run the following query and post the result?
|
Thank you for the response, here is the result: "data": {
"__type": {
"name": "Mutation",
"kind": "OBJECT",
"description": "",
"fields": [
{
"name": "register",
"description": "Register new user, need to remove Authorization and RefreshToken headers",
"args": [
{
"name": "firstname",
"description": "",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "lastname",
"description": "",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "email",
"description": "",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "password",
"description": "",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"description": null,
"ofType": {
"kind": "OBJECT",
"name": "User",
"description": "",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "login",
"description": "Login to system, need to remove Authorization and RefreshToken headers",
"args": [
{
"name": "email",
"description": "",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "password",
"description": "",
"type": {
"kind": "NON_NULL",
"name": null,
"description": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "LoginResponse",
"description": "",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
}
}
} |
In your schema all parameter descriptions are empty strings {
"name": "firstname",
"description": "", // <--- Parameter description is empty string
"type": {
"kind": "NON_NULL",
"name": null,
"description": null,
"ofType": { /* ... */ }
},
"defaultValue": null
} How are you generating your schema? |
But got this:
![image](https://user-images.githubusercontent.com/9303093/29722035-86afbd46-89e9-11e7-800a-8e5a7cc40a79.png)
So how can I make the document display for arguments?
The text was updated successfully, but these errors were encountered: