Closed
Description
I have hit a major issue due to this undocumented breaking change (#3243), which was introduced in a patch version bump.
This is how the resolver.go
looked like before on version v0.17.49
: https://github.com/satisfactorymodding/smr-api/blob/179d26156ff1bfc48119ab24ee8a4740d2a2a18b/gql/resolver.go
This is how it looks like after running the generator on version v0.17.50
: https://gist.github.com/Vilsol/1d7ac5dabd75933604449e1d6faa3323
- It has not generated any imports for anything except for what it itself is using.
- It has blindly copied the code from within the resolver functions, disregarded the function argument names, therefore completely breaking code that used those variables.
Is there some config options I can change to make this work with newer versions? Or is my only possible path to not upgrade?
Metadata
Assignees
Labels
No labels
Activity