# Top 10 GraphQL Developer Questions on Stack OverFlow
This post is my first following my promotion at Postman to Tech Lead for GraphQL. This is a role, if you read my previous post, that aligns my professional and my open source goals which is a rare, welcomed outcome. One of my initial ponderings was, "What questions do developers have when they are getting started with GraphQL?". I turned to the resource we all look to for developer's questions: Stack OverFlow.
Fortunately, the site provides what they refer to as their "live" API called **StackExchange Data Explorer** which accepts SQL and returns the response in a table. I was able to construct SQL queries to take advantage of certain attributes from Stack Overflow questions to build an overview of the top questions that developers have about GraphQL.
---
[](https://data.stackexchange.com)
---
Developers on the site have a few ways to signal their interest in a question and it's response. The attributes I chose worked to create an overview for questions on GraphQL. I built my own "Top 10" lists by considering these attributes: most viewed, most upvoted, most favorited and most duplicated questions.
Below is both the SQL that I used to build the queries and the responses that Stack Overflow provided.
### SQL Query for Top 10 Views Query
```
select top 10
Id AS [Post Link], ViewCount AS Views
from posts
where PostTypeId = 1 and
ViewCount > 1000 and
tags like '%<graphql>%'
order by Views desc
```
### Top 10 Most Viewed GraphQL Questions on StackOverflow
| Order | Post Link |
| -------- | -------- |
| 01 | [How to query all the GraphQL type fields without writing a long query?](https://stackoverflow.com/q/34199982)
| 02 | [Nodemon Error: System limit for number of file watcher reached](https://stackoverflow.com/q/53930305)
| 03 |[How to properly make mock throw an error in Jest?](https://stackoverflow.com/q/49835264)
| 04 | [GraphQL gql Syntax Error: Expected name, found](https://stackoverflow.com/q/48331103)
| 05 |[GraphQL whole schema query](https://stackoverflow.com/q/37397886)
| 06 | [How to send graphql query by postman?](https://stackoverflow.com/q/42520663)
| 07 |[Why am I getting a "Cannot return null for non-nullable field" error when doing a mutation.](https://stackoverflow.com/q/50021669)
| 08 |[GraphQL Expected Iterable: but did not find one for field xxx-yyy](https://stackoverflow.com/q/46513476)
| 09 |[How to query list of objects with array as argument in GraphQL?](https://stackoverflow.com/q/40644296)
| 10 | [Can graphql return aggregate counts?](https://stackoverflow.com/q/34321688)
### SQL Query for Top 10 Upvotes Query
```
select top 10
v.postid AS [Post Link], count(v.postid) as 'Upvotes'
from votes v
inner join posts p on p.id=v.postid
where PostTypeId=1 and VoteTypeId=2 and tags like '%<graphql>%'
group by v.postid
order by 'Upvotes' desc
```
### Top 10 Most Upvoted GraphQL Questions on StackOverflow
| Order | Post Link |
| -------- | -------- |
| 01 | [How to query all the GraphQL type fields without writing a long query?](https://stackoverflow.com/q/34199982) |
| 02 |[When and how to use GraphQL with microservice architecture?](https://stackoverflow.com/q/38071714) |
| 03 | [Nodemon Error: System limit for number of file watcher reached](https://stackoverflow.com/q/53930305) |
| 04 | [What is the difference between Falcor and GraphQL](https://stackoverflow.com/q/32057785) |
| 05 | [In GraphQL what's the meaning of "edges" and "node"?](https://stackoverflow.com/q/42622912) |
| 06 | [What's the point of the input type in GraphQL?](https://stackoverflow.com/q/41743253) |
| 07 |[How to properly make mock throw an error in Jest?](https://stackoverflow.com/q/49835264) |
| 08 | [Are there any disavantages to GraphQL?](https://stackoverflow.com/q/40689858)
| 09 | [What is an exclamation point in GraphQL?](https://stackoverflow.com/q/50684231) |
| 10 | [Get GraphQL whole schema query](https://stackoverflow.com/q/37397886) |
### SQL Query for Top 10 Favorites Query
```
select top 10
Id as [Post Link], FavoriteCount as Favorites
from Posts
where tags like '%<graphql>%'
order by Favorites desc
```
### Top 10 Most Favorited GraphQL Questions on StackOverflow
| Order | Post Link |
| -------- | -------- |
| 01 |[When and how to use GraphQL with microservice architecture?](https://stackoverflow.com/q/38071714)
| 02 | [What is the difference between Falcor and GraphQL?](https://stackoverflow.com/q/32057785)
| 03 | [Nodemon Error: System limit for number of file watcher reached](https://stackoverflow.com/q/53930305)
| 04 | [How to send graphql query by postman?](https://stackoverflow.com/q/42520663)
| 05 | [How to query all the GraphQL type fields without writing a long query?](https://stackoverflow.com/q/34199982)
| 06 | [Are there any disavantages to GraphQL?](https://stackoverflow.com/q/40689858)
| 07 |[Handling errors with react-apollo userMutation hook](https://stackoverflow.com/q/59465864)
| 08 |[Firebase and GraphQL](https://stackoverflow.com/q/37535374)
| 09 |[Get GraphQL whole schema query](https://stackoverflow.com/q/37397886)
| 10 |[How do you prevent nested attack on GraphQL/Apollo server?](https://stackoverflow.com/q/37337466)
### SQL Query for Top 10 Duplicates Query
```
select top 10
original.Id AS [Post Link],
COUNT(*) AS Duplicates
from PostsWithDeleted original
join PostLinks ON RelatedPostId=original.Id
where LinkTypeId=3 and original.tags like '%<graphql>%'
group by original.Id
order by Duplicates desc
```
### Top 10 Most Duplicated GraphQL Questions on StackOverflow
| Order | Post Link |
| -------- | -------- |
| 01 | [Why does GraphQL query return null](https://stackoverflow.com/q/56319137)
| 02 |[GraphQL Blackbox/ "Any" type ](https://stackoverflow.com/q/45598812)|
| 03 |[GraphQL Error field type must be input Type but got:](https://stackoverflow.com/q/45806368)|
| 04 |[Handling errors with react-apollo userMutation hook](https://stackoverflow.com/q/59465864)
| 05 |[Apollo GraphQL keeps receiving requests with no queries or mutations being made](https://stackoverflow.com/q/58038945)|
| 06 |[Fields \"me\" of type \"User\" must have a selection of subfields](https://stackoverflow.com/q/46111514)|
| 07 |[Apollo/GraphQL field type for object with dynamic keys](https://stackoverflow.com/q/46562561)|
| 08 |[How to chain two GraphQL queries in sequence using Apollo Client](https://stackoverflow.com/q/49317582)|
| 09 |[GraphQL Expected Iterable: but did not find one for field xxx-yyy](https://stackoverflow.com/q/46513476)
| 10 |[Auto-update of apollo client cache after mutation not effecting existing queries](https://stackoverflow.com/q/60360260)|
## Takeaways
There are many questions that are shared across the attributes of views, upvotes and favorites. Looking at the details of those questions reveals two important findings. First, they are likely to have been asked long ago which allows the acculumation of popularity across many years. Most of these popular questions have rich and detailed answers.
Apollo and Postman are the only two GraphQL tools mentioned by name across question types. The possibilities to consider for this include:
1. Apollo OSS and Postman represent the top developer choice when learning GraphQL.
2. Apollo and Postman have been available longer than other tools.
3. Apollo and Postman provide the ease of use that drives developer adoption.
The specific reasoning by developers for these choices isn't possible without more information, but it is a notable result.
Of all the attributes, **Top 10 Most Duplicated GraphQL Questions** appear to give a peek into what developers commonly struggled with when learning or using GraphQL.
What do you think? I would love to hear your thoughts and takeaways on what these questions reveal. We can continue a converstaion on Twitter. [Tweet at me.](https://twitter.com/mojosd)