DEV Community

Discussion on: Creating a Magento Theme with Next.js and GraphQL

Collapse
 
qm3ster profile image
Mihail Malo

RE: Routing, can't you have a serverside resolver that sends you the correct category and the payload in a single response?

Collapse
 
restoreddev profile image
Andrew Davis

Yes you could set that up server side, but I wanted to use the default endpoints provided by Magento. Hopefully the Magento developers will be able to create a better solution to fix double querying.