Lukas Liesis
1 min readJun 5, 2019

--

Great article. I was about to structure a new project and googled for fresh ideas on how to manage the GraphQL code. I think the “domain expert” is the best most of the time.

I use a similar approach for many places outside of GraphQL, and when I get into a situation when a new domain may be a subdomain of couple other domains, I name it accordingly, relate by some ids, and that’s it. Works perfectly fine and is manageable when changes are needed.

Also, it’s easy to write unit tests and keep them in the same directory.

--

--

Lukas Liesis
Lukas Liesis

Written by Lukas Liesis

2 decades exp of building business value through web tech. Has master's degree in Physics. Built startups with ex-Googlers. Was world’s top 3% developer.

No responses yet