You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a binary is shipped with gqlgen as one of its dependencies, with the follow-schema option set in the config, the following error is encountered:
open <your file structure path>/github.com/99designs/gqlgen@v0.17.42/codegen/root_.gotpl: no such file or directory
What did you expect?
The fix for issue 2260 offers the ability to pass in a TemplateFS option. However, that option is not being honored by the generateRootFile function. I would expect the same logic that was implemented here to apply in generateRootFile.
versions
go run github.com/99designs/gqlgen version?
v0.17.42
go version?
go 1.22.4
The text was updated successfully, but these errors were encountered:
What happened?
When a binary is shipped with gqlgen as one of its dependencies, with the follow-schema option set in the config, the following error is encountered:
open <your file structure path>/github.com/99designs/gqlgen@v0.17.42/codegen/root_.gotpl: no such file or directory
What did you expect?
The fix for issue 2260 offers the ability to pass in a
TemplateFS
option. However, that option is not being honored by the generateRootFile function. I would expect the same logic that was implemented here to apply ingenerateRootFile
.versions
go run github.com/99designs/gqlgen version
?v0.17.42
go version
?go 1.22.4
The text was updated successfully, but these errors were encountered: