Replies: 1 comment 3 replies
-
We quickly found ourselves struggling with file organization as well when we started using Nexus. The structure we've been using is based on this model
There are times when things don't cleanly fit into one of these categories but for the most part it has served us well. No idea if people from the Nexus team would agree with this structure, this is purely a demonstration of how we've structured our project |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found good best practices about folder structure: https://nexusjs.org/docs/guides/best-practices#consistent-file-structure-for-graphql-type-imports
However it does not cover a case where query might return multiple types. What would be the best practice to organize such queries?
Beta Was this translation helpful? Give feedback.
All reactions