Skip to content

Breaking out resolvers into packages #1253

Description

@bofia

What happened?

When running gqlgen all the generated resolvers are in a single package. How would you organize a large project that has hundreds of different types? It seems like the package would have hundreds of files in the same directory.

What did you expect?

A way to organize large schemas. Federation might be a solution but would like to avoid that

Minimal graphql.schema and models to reproduce

versions

  • gqlgen version? v0.11.3
  • go version? 1.13.7
  • dep or go modules? N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions