All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 3m36s
Move Query/Mutation field declarations from the monolithic schema.graphql into each domain's .graphql file using extend type, so gqlgen places resolvers in the matching *.resolvers.go files. Extract helper functions into *_helpers.go files to prevent gqlgen from commenting them out. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
657 B
GraphQL
34 lines
657 B
GraphQL
type JobAppReference {
|
|
id: ID!
|
|
createdAt: Time!
|
|
updatedAt: Time!
|
|
category: String!
|
|
label: String!
|
|
value: String!
|
|
sortOrder: Int!
|
|
}
|
|
|
|
input CreateJobAppReferenceInput {
|
|
category: String!
|
|
label: String!
|
|
value: String!
|
|
sortOrder: Int
|
|
}
|
|
|
|
input UpdateJobAppReferenceInput {
|
|
category: String
|
|
label: String
|
|
value: String
|
|
sortOrder: Int
|
|
}
|
|
|
|
extend type Query {
|
|
jobAppReferences: [JobAppReference!]!
|
|
}
|
|
|
|
extend type Mutation {
|
|
createJobAppReference(input: CreateJobAppReferenceInput!): JobAppReference!
|
|
updateJobAppReference(id: ID!, input: UpdateJobAppReferenceInput!): JobAppReference!
|
|
deleteJobAppReference(id: ID!): Boolean!
|
|
}
|