❔ How to organize folder structure in .NET with HotChocolate 13
Can someone please guide me on organizing folder structure in HotChocolate 13 GraphQL here.
We have entities and DbContext. Can I use them instead of creating Types? Also, I've seen many cases where people create folders for each command e.g. /Queries/AddProduct/AddProduct.cs, AddProductInput.cs, AddProductPayload.cs
And also seen people creating /Queries/ProductQueries.cs and store all commands init.
And store AddProductInput.cs and AddProductPayload.cs in /Models folder.
How do I follow Relay pattern and organize with scalability in mind?
We have entities and DbContext. Can I use them instead of creating Types? Also, I've seen many cases where people create folders for each command e.g. /Queries/AddProduct/AddProduct.cs, AddProductInput.cs, AddProductPayload.cs
And also seen people creating /Queries/ProductQueries.cs and store all commands init.
And store AddProductInput.cs and AddProductPayload.cs in /Models folder.
How do I follow Relay pattern and organize with scalability in mind?