99designs / gqlgen

go generate based graphql server library
https://gqlgen.com
MIT License
9.98k stars 1.17k forks source link

Bazel builds no longer work after landing #2988 #3181

Open clayne11 opened 4 months ago

clayne11 commented 4 months ago

What happened?

Bazel builds no longer work, packages are not pulling in their types correctly after #2988 was landed.

What did you expect?

Bazel builds continue to work.

Minimal graphql.schema and models to reproduce

Cannot minimally reproduce this without an advanced Bazel setup.

If I revert this #2988, everything works as expected.

versions

agratta-silo commented 4 months ago

Is this a problem with Bazel? I'm not familiar with Bazel, but it seems wrong that a third-party build tool should dictate how gqlgen should work internally.