Open
Description
Perceived Problem
Next.js discourages accessing API Routes in server-side code like getStaticProps and getServerSideProps. The encourage users to Write server-side code directly.
Ideas / Proposed Solution(s)
Nexus framework could allow developers to execute graphQL queries directly, without going through the http server.
Some discussion happened here: #782
Working preliminary solution: #921