The Do’s and Don’ts for your schema and GraphQL operations

  Рет қаралды 21,779

Apollo GraphQL

Apollo GraphQL

Күн бұрын

Пікірлер: 13
@r-gart
@r-gart 4 жыл бұрын
As a software developer this guy is a great salesman (for the tools he wants people to use). Maybe he isn't doing in purpose, but he would do great in sales 😄 "Be a champ for my project" "Do not use basic software, use our services"
@TheKhalilStemmler
@TheKhalilStemmler 3 жыл бұрын
Watson's the best
@MySonicDragon
@MySonicDragon 3 жыл бұрын
This was entirely a marketing presentation. I was hoping to learn something about the ins and outs of schema design but it really comes down to "hey look at what our tooling and platform can give you".
@AshtonMotana
@AshtonMotana 2 жыл бұрын
I'm trying to figure out how to sort by asc in my resolver, on a subdocument Kitchen Schema, { itemCategory } and { itemName }, can sort by directly querying the Kitchen Schema, but when quiring the context user, (me) and the subdocument field kitchen ref: 'Kitchen'. the itemCategory and itemName are not sorting at all.
@patrickartounian4487
@patrickartounian4487 4 жыл бұрын
Could we please get a code example for filtering criteria as variables for the graph?
@KevinOsterkilde
@KevinOsterkilde 4 жыл бұрын
The one single downvote is from a REST sympathiser. Jokes aside, good talk.
@MrJaxolotl
@MrJaxolotl 4 жыл бұрын
And the rabbit hole never ends!!!! Thanks Michael for turning on the lights for a lot more rooms to explore!!!!
@dianartimus
@dianartimus 4 жыл бұрын
You go Michael Watson!
@patrickartounian4487
@patrickartounian4487 4 жыл бұрын
So it seems GraphQL should cater to the client(s). One specific thing I have in mind, in storing monetary data. We believe it would be best to store it in "cents" as an integer ie 3500 = $35, 3555 = $35.55. With that in mind, should GraphQL input/output monetary values as Int or a Float as that is what the client would be using?
@scottrobbins3341
@scottrobbins3341 4 жыл бұрын
I don't work at Apollo, but I think you should use integers. While the graph can make things easier for clients, it shouldn't make things ambiguous or wrong.
@juancarlosqr
@juancarlosqr 4 жыл бұрын
Hey, use integers. Is the way stripe does it and is really great
@johandejager3692
@johandejager3692 4 жыл бұрын
We input as integer, and output as a type called Money. This Money type contains several fields: currency, formatted amount (which is a string like "€5.00") and lastly: amount (which is the original input as an integer).
@dagadbm
@dagadbm 4 жыл бұрын
basically its the same as monogdb lol.. cater the api/db to the calls
Best Practices for Designing a Federated GraphQL Schema
59:34
Apollo GraphQL
Рет қаралды 14 М.
Dispatch this: Using Apollo Client 3 as a State Management Solution
29:07
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 22 МЛН
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 127 МЛН
DataLoader and the Problem it solves in GraphQL
21:41
knowthen
Рет қаралды 27 М.
The Truth About GraphQL
12:06
Theo - t3․gg
Рет қаралды 100 М.
Designing GraphQL Schemas: Avoid the downsides of GraphQL's flexibility - Nik Graf
32:39
React Conferences by GitNation
Рет қаралды 12 М.
How to Auth: Secure a GraphQL API with Confidence
25:18
Apollo GraphQL
Рет қаралды 41 М.
Your First Federated Schema with Apollo Server
26:23
Apollo GraphQL
Рет қаралды 52 М.
How Netflix Scales Its API with GraphQL Federation
38:50
Best Practices for GraphQL API Development - Ahter Sonmez
24:59
EuroPython Conference
Рет қаралды 629
GraphQL Schema Design
24:57
dotnet
Рет қаралды 6 М.
My GraphQL Performance Problem
13:33
Ben Awad
Рет қаралды 49 М.