Skip to content

Instantly share code, notes, and snippets.

@jjn1056
Created April 19, 2019 16:39
Show Gist options
  • Save jjn1056/68cbdce3f60f810486d758acbc450ea0 to your computer and use it in GitHub Desktop.
Save jjn1056/68cbdce3f60f810486d758acbc450ea0 to your computer and use it in GitHub Desktop.
input EmployeeMutateInput {
birth_date: DateTime
emp_no: Int!
first_name: String
gender: EmployeeGender
hire_date: DateTime
last_name: String
record_no: Int
}
input EmployeeSearchInput {
birth_date: DateTime
first_name: String
gender: EmployeeGender
hire_date: DateTime
last_name: String
record_no: Int
}
type Mutation {
createEmployee(input: [EmployeeCreateInput!]!): [Employee]
deleteEmployee(input: [EmployeeMutateInput!]!): [Boolean]
updateEmployee(input: [EmployeeMutateInput!]!): [Employee]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment