v1.0.0 Now Available

Type-safe GraphQL

from your Go models.

Stop writing schemas by hand. Annotate your standard Go structs and generate production-ready GraphQL schemas instantly.

Declarative

Define schema using simple Go struct tags.

Zero Boilerplate

No need to maintain separate .graphql files.

Go Native

Works seamlessly with your existing domain entities.

Get started in seconds

Three simple steps to automate your schema workflow.

1

Install

Get the latest version of the CLI tool directly from standard Go modules.

$ go install github.com/pablor21/gqlschemagen@latest

2

Annotate

Add the @gqlType directive to your Go structs to expose them to the schema.

internal/domain/user.go

user.go(GraphQL Type Definition)

3

Ge…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help