by weiznich

weiznich /wundergraph
146 Stars 9 Forks Last release: 7 months ago (v0.1.2) Other 141 Commits 3 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Wundergraph provides a platform to easily expose your database through a GraphQL interface.

Build Status


For a full example application see the example project

#[macro_use] extern crate diesel;
use wundergraph::prelude::*;

table! { heros { id -> Integer, name -> Text, hair_color -> Nullable, species -> Integer, } }

table! { species { id -> Integer, name -> Text, } }

#[derive(Clone, Debug, Identifiable, WundergraphEntity)] #[table_name = "heros"] pub struct Hero { id: i32, name: String, hair_color: Option, species: HasOne, }

#[derive(Clone, Debug, Identifiable, WundergraphEntity)] #[table_name = "species"] pub struct Species { id: i32, name: String, heros: HasMany, }

wundergraph::query_object!{ Query { Hero, Species, } }


Depending on your backend choice you need to install a native library.

is required for the postgresql feature,
for the sqlite feature.


Licensed under either of these:

  • Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)


Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.