Create a GraphQL resolver to retrieve all campaigns from the database. Use Prisma for database queries and return the list of campaigns through the GraphQL API.
Acceptance Criteria:
Define a resolver method getAllCampaigns() in CampaignResolver.
Use Prisma to query the database for all campaigns.
Return the list of campaigns as a GraphQL query result.
Implement error handling for database query failures.
Create a GraphQL resolver to retrieve all campaigns from the database. Use Prisma for database queries and return the list of campaigns through the GraphQL API.
Acceptance Criteria: