Going through @redwoodJS tutorial this afternoon: https://redwoodjs.com/tutorial/welcome-to-redwood
Will">https://redwoodjs.com/tutorial/... update this thread with findings
https://abs.twimg.com/emoji/v2/... draggable="false" alt="👇" title="Down pointing backhand index" aria-label="Emoji: Down pointing backhand index">
Will">https://redwoodjs.com/tutorial/... update this thread with findings
The Rails feels of the default home page are making me feel right at home
https://abs.twimg.com/emoji/v2/... draggable="false" alt="👌" title="Ok hand" aria-label="Emoji: Ok hand">
Super opinionated so far, in a good way! Especially as someone who has been pretty far away from frontend work recently, this feels nice and fast
Holy crap, I haven& #39;t had the chance to play with @prisma since their GraphQL days, but these migrations are ridiculously cool https://github.com/xuorig/redwood-shop/tree/master/api/prisma/migrations/20200404162025-create-products">https://github.com/xuorig/re...
Wow ok, scaffolding a new product concept gives you a GraphQL API, a "service" file, and even scaffolded UI. Impressive. #diff-915836dbf89b330fc0b63180b0b014a3">https://github.com/xuorig/redwood-shop/commit/d7d53dcc98d943373363f75c6c84bf1fdac6c118 #diff-915836dbf89b330fc0b63180b0b014a3">https://github.com/xuorig/re...
I really like the service abstraction. Looks easy to modify and escape the default CRUD if needed. Something I still don& #39;t get is how the GraphQL resolution work. Looks like services / GraphQL schema are coupled in some way. Reading
https://abs.twimg.com/emoji/v2/... draggable="false" alt="👀" title="Eyes" aria-label="Emoji: Eyes">
Ok back, Reading https://redwoodjs.com/tutorial/side-quest-how-redwood-works-with-data">https://redwoodjs.com/tutorial/... to figure out the relationship between services and GraphQL. It looks like top-level fields only are mapped to a service. I can& #39;t see anywhere how one would customize a resolver if needed. Might have to look at the source.
Ah yes ok, our Apps have direct access to the GraphQL server instance, which is "just" an ApolloServer object: https://github.com/xuorig/redwood-shop/blob/master/api/src/functions/graphql.js
`makeMergedSchema`">https://github.com/xuorig/re... is the redwood specific API here. I like it, easily composable at this point.
`makeMergedSchema`">https://github.com/xuorig/re... is the redwood specific API here. I like it, easily composable at this point.