Discover and read the best of Twitter Threads about #GraphQL

Most recents (4)

it'd be cool a talk/meetup about #JavaScript retrospective from 2014 until now
a lot of stuff changed from there to now
we put it javascript files on index.html
Read 39 tweets
well, ok, @devcorpio and @mathiasverraes by request: thread coming.
heads up for anyone interested in @fielding, #REST, #GraphQL, #CRUD, #SOAP, #Reactive 1/10
per @fielding's disseration, in order to achieve his desired architectural properties (chap02) and meet the WWW's domain requirements (chap04), he wanted to establish a set of required constraints (chap05). most ppl just focus on chap05 and i recommend focusing on chap02. 2/10
there @fielding makes a case that arch properties are induced by the set of contraints you select. thus, he creates his set of contraints for inducing his desired properties and names that #REST. 3/10
Read 10 tweets
@rj_dudley In summary, OData was a way to serialize a SQL statement into a URL. When first applied, it gave too much power to the client, allowing it to use joins, where clauses, and sorting. A lot of that power can be dialed back now, but I still found it challenging to limit the exposure.
@rj_dudley By opening up an OData endpoint, you lose control of what your clients are able to do and you don't have explicit queries or use cases tracked. So when you need to change your schema, it becomes challenging to maintain backward compatibility with what your clients are doing.
@rj_dudley And it also becomes exceptionally difficult to optimize performance for any given use case because all execution runs through the same pipeline. Hooks were there to do it, but you have to process IQueryables in order to fulfill specific queries with tuned implementations.
Read 28 tweets
👋😀 If you're curious about some of the questions I get regarding #GraphQL, and how I answer them, look no further! Using @glitch, I've been able build quite a few example schemas using Apollo Server 2.0.

Here are a few of my favorites [thread]:
"Why is this field null? Is it because I don't have permission to view it, or is there actually no data there?"

🔒🔑 Authorization boundaries can be useful when a client is querying for data that may not be available to them:

glitch.com/edit/#!/exampl…
"Why did my mutation throw an error? Was there only one thing wrong? How do I show the user what went wrong?"

📝💪 Mutation responses, similarly to authorization boundaries, give you exactly what you need to know at a glance to debug mutation errors:

glitch.com/edit/#!/mutati…
Read 7 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!