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>
44 lines
845 B
GraphQL
44 lines
845 B
GraphQL
type JobApplication {
|
|
id: ID!
|
|
createdAt: Time!
|
|
updatedAt: Time!
|
|
jobTitle: String!
|
|
company: String!
|
|
location: String
|
|
url: String
|
|
status: String!
|
|
notes: String
|
|
appliedAt: Time
|
|
}
|
|
|
|
input CreateJobApplicationInput {
|
|
jobTitle: String!
|
|
company: String!
|
|
location: String
|
|
url: String
|
|
status: String!
|
|
notes: String
|
|
appliedAt: Time
|
|
}
|
|
|
|
input UpdateJobApplicationInput {
|
|
jobTitle: String
|
|
company: String
|
|
location: String
|
|
url: String
|
|
status: String
|
|
notes: String
|
|
appliedAt: Time
|
|
}
|
|
|
|
extend type Query {
|
|
jobApplications: [JobApplication!]!
|
|
jobApplication(id: ID!): JobApplication
|
|
}
|
|
|
|
extend type Mutation {
|
|
createJobApplication(input: CreateJobApplicationInput!): JobApplication!
|
|
updateJobApplication(id: ID!, input: UpdateJobApplicationInput!): JobApplication!
|
|
deleteJobApplication(id: ID!): Boolean!
|
|
}
|