by valenterry · 5y ago · 0 comments
E.g. the following REST
/articles-with-comments?number=20
which returns title, contents etc. would map to a completely new query in graphql articlesWithComments(number: Integer) {
title
contents
...
}
so it is exactly as easy to optimize. Of course this is not very composable, but that is equally true for both solutions.