by tristenharr on 11/16/23, 9:43 PM with 2 comments
by andrewfromx on 11/16/23, 10:11 PM
When I added a new rest endpoint I did NOT include "decorate" but I waited for the ios or android developer consuming the api to ask for it. Worked out great and it avoids all the complexity that often gets PUSHED down to the ios and android developer. If the goal is to write perfect graphql that solves the under-fetch over-fetch problem better than my decorate function, you don't end up with that. You get the mobile developers writing their dream queries and making a bigger mess! (Sometimes.)
by tristenharr on 11/16/23, 9:44 PM