Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

(GraphQL) Add the event resolver for discounts

Open
#431 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
75/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
go, graphql
Domain
api, backend

Research direction

Start on the graphql-v2 branch by reading graphql/README.md and comparing the rooms object implementation. Inspect schema.graphqls and discounts.resolvers.go to understand the existing GraphQL patterns. Done means the discounts object is defined in schema.graphqls and its events resolver is implemented in discounts.resolvers.go.

Written by the indexing model from the issue text.

Description

feature request L2

Overview

Follow the guidelines on GraphQL implementation.
Add the discounts object in schema.graphqls and the discounts events resolver in discounts.resolvers.go for branch graphql-v2

Since discounts don't reference another object, there's no need for separation of concerns. We can combine the database object and GraphQL object with @goTag. See the rooms object for reference.

Resources

Graphql README.md
Intro to Graphql
Graphql and gqlgen Notes
gqlgen docs

Dominant language
Go
Stars
41
Forks
100
Avg merge
8d 20h
Merged PRs (30d)
6

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UTDNebula/nebula-api

All issues in UTDNebula/nebula-api

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.