#extension #mocking #grafbase-sdk-mock

grafbase-sdk-mock

Subgraph mock server for testing Grafbase extensions

3 releases

Uses new Rust 2024

new 0.1.2 Apr 28, 2025
0.1.1 Feb 10, 2025
0.1.0 Feb 7, 2025

#1382 in HTTP server

Download history 121/week @ 2025-02-03 340/week @ 2025-02-10 286/week @ 2025-02-17 61/week @ 2025-02-24 23/week @ 2025-03-03 199/week @ 2025-03-10 169/week @ 2025-03-17 145/week @ 2025-03-24 166/week @ 2025-03-31 199/week @ 2025-04-07 320/week @ 2025-04-14 223/week @ 2025-04-21

921 downloads per month
Used in grafbase-sdk

MPL-2.0 license

28KB
585 lines

Provides a dynamic GraphQL schema and subgraph implementation that can be built and executed at runtime.

This crate allows creating GraphQL schemas dynamically from SDL (Schema Definition Language) strings and executing queries against them. It also provides functionality for running mock GraphQL servers using these dynamic schemas.

Dependencies

~27–40MB
~716K SLoC