gqlgenc icon indicating copy to clipboard operation
gqlgenc copied to clipboard

Split client into client and model

Open mobiletoly opened this issue 2 years ago • 2 comments

currently when client (e.g. client.go) file is generated - it contains both Client functionality and generated models. I use hexagonal architecture and would be much more convenient for me to split this functionality into two different files.

mobiletoly avatar Jul 16 '22 16:07 mobiletoly

@mobiletoly Can you give me the simplest example you can think of? I have yet to come up with an image 🙏.

Yamashou avatar Jul 16 '22 17:07 Yamashou

ref: https://github.com/99designs/gqlgen/issues/2555

sonatard avatar Dec 08 '23 02:12 sonatard