gqlgen
gqlgen copied to clipboard
feat: move object directive logic to object function
Change-Id: I6d1789756f7990666f4a0e01761a94816f0fc996
Describe your PR and link to any relevant issues. #3306 I have:
I appreciate your working on this, but I actually really prefer to move logic out of the template files and back into library functions in standard Go files. Template logic is harder to maintain, as linters and other unit testing is much harder to deal with inside of templates.
I think your intent of making things simpler and more convenient is a good one though.