rust-graphql-juniper-actix-diesel-postgres icon indicating copy to clipboard operation
rust-graphql-juniper-actix-diesel-postgres copied to clipboard

Consider using wundergraph for the database <-> GraphQL interaction

Open weiznich opened this issue 5 years ago • 1 comments

I would like to promote my crate wundergraph. It greatly simplifies the creation of a performant GraphQL over given relational database schema.

Implementations using diesel and juniper in a straight forward most likely have problems with N+1 queries while resolving a nested GraphQL entity. Wundergraph is build on top of diesel and juniper and circumvents this problems carefully craft a fixed number(= independent of the actual number of loaded database entries) of SQL queries to resolve one GraphQL request. (This seems to be not the case for this example, because there is only one GraphQL entity that is mapped to a database entity, but if this should be a good starting point for a real world application it's probably worth to change it anyway.)

weiznich avatar Jan 22 '20 22:01 weiznich

Link @weiznich? TIA

weeping-somnambulist avatar Sep 09 '22 01:09 weeping-somnambulist