---
title: "Discussion on \"Scalable GraphQL Architecture\" | Hashnode"
description: "Discussion on \"Scalable GraphQL Architecture\". Hey! everyone\nIt's often a pain to organize folders and files inside a GraphQL project. \nas the API grows, soon you will realize that all the types, resolvers, and other things are missed up and you don't know where to put or find that specific resol..."
url: "https://hashnode.com/posts/scalable-graphql-architecture/6154bb469c8bfd08f5ba9cf0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Scalable GraphQL Architecture](https://theehsansarshar.hashnode.dev/scalable-graphql-architecture?utm_source=hashnode&utm_medium=feed)

Hey! everyone It's often a pain to organize folders and files inside a GraphQL project. as the API grows, soon you will realize that all the types, resolvers, and other things are missed up and you don't know where to put or find that specific resol...

Sep 29, 2021 · 6 min read · theehsansarshar.hashnode.dev  
Updated Oct 25, 2021  
Read the article

-   [#graphql](https://hashnode.com/tag/graphql)
-   [#design-and-architecture](https://hashnode.com/tag/design-and-architecture)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Ehsan sarshar](https://hashnode.com/@TheEhsanSarshar)

@TheEhsanSarshar · Herat, Afghanistan

  
[View profile](https://hashnode.com/@TheEhsanSarshar)

Javascript

JS developer opensource contributer

## Responses 2

Markdown supported · ⌘↵ to post

[monesh maruthu](https://hashnode.com/@moneshperiyamaruthu)

[Aug 12, 2024](https://hashnode.com/posts/scalable-graphql-architecture/6154bb469c8bfd08f5ba9cf0/comment/66ba43541c967910ba8aca86)

I would like to share one view . In my opinion even query and mutation is also root type which will be having resolvers . What I feel is the name resolver.js is too generic . It can also include resolvers for query and mutation. May be what I feel is to have custom type resolvers in query.js file itself . If Some custom types are going to be used across mutation and query then we can create folder named resolvers and place query.js , mutation.js and common-type.js inside of it

[Ahmad Sina Saeedi](https://hashnode.com/@AhSinaSaeedi)

[Jan 23, 2022](https://hashnode.com/posts/scalable-graphql-architecture/6154bb469c8bfd08f5ba9cf0/comment/61ed11d55fbc177f9f3b6732)

Amazing 😍👌🏻 Thanks dear 👏
