-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
Description
When you enter the arguments for mutation/query the plugin should be able to generate the appropriate variables based off the schema.
Given the following partial mutation, the arguments are filled in and a valid schema, the variables should be able to be generated
mutation createRole(){ # generate variables
createRole(input: {id: $roleID, description: $description, teamID: $teamID, departmentID: $departmentID,active: $active,editable: $editable,levelID: $levelID, titleID: $titleID}){
id
}
}
Generated out come
mutation createRole($roleID: ID!, $description: String, $teamID:ID!, $departmentID: ID!,$active: Boolean!, $editable:Boolean!,$levelID: ID!, $titleID: ID!){
createRole(input: {id: $roleID, description: $description, teamID: $teamID, departmentID: $departmentID,active: $active,editable: $editable,levelID: $levelID, titleID: $titleID}){
id
}
}
EinfachHans