graphql_depth_limit
A graphql depth limit validation in Rust inspired by graphql_depth_limit
Add this to your Cargo.toml
:
[]
= "0.1.1"
and this to your crate root (if you're using Rust 2015):
extern crate graphql_depth_limit;
Here's a simple example for verification of a graphql query:
use QueryDepthAnalyzer;