TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Turning GraphQL diagrams to mock back end

60 pointsby aexolover 6 years ago

5 comments

dvtover 6 years ago
Cool toy! A lot of work probably went into this and the presentation is pretty stellar. I&#x27;m not sure if I&#x27;d use it over VSCode, but I bookmarked it!<p>A tangential complaint: I <i>really</i> wish GraphQL had annotations for derived types. I think it&#x27;s so dumb how you will often have (to use one of the site&#x27;s examples) a Book type, but then also need a CreateBookInput input type and a UpdateBookInput input type. These latter two will often be strict subsets of Book. It&#x27;s very error prone, especially when you start changing root types, but forget about these derived input&#x2F;update types.
评论 #18745403 未加载
评论 #18745177 未加载
aexolover 6 years ago
If somebody needs help I am here to help. This is an alpha version, but you can create fully operational mock backend with it. This allows you to start frontend and backend dev of an application at once, you just need to agree about desing of the database endpoints etc.
评论 #18744258 未加载
评论 #18740954 未加载
wmichelinover 6 years ago
I only have one point of criticism (although this is really nice).<p>It&#x27;s a little strange to have the responses changing so drastically between requests. Sometimes nothing is returned, sometimes one item is returned, and sometimes many items are returned. I would prefer if the responses were a little more consistent, or if this behavior was configurable.
评论 #18744988 未加载
aexolover 6 years ago
If you are on mobile check it out later or leave email on graphqleditor.com
slifinover 6 years ago
<a href="https:&#x2F;&#x2F;vimeo.com&#x2F;296122102" rel="nofollow">https:&#x2F;&#x2F;vimeo.com&#x2F;296122102</a>