#extension #mocking #grafbase-sdk-mock

grafbase-sdk-mock

Subgraph mock server for testing Grafbase extensions

2 releases

0.1.1 Feb 10, 2025
0.1.0 Feb 7, 2025

#1330 in HTTP server

Download history 78/week @ 2025-02-01 369/week @ 2025-02-08 269/week @ 2025-02-15 91/week @ 2025-02-22 21/week @ 2025-03-01 184/week @ 2025-03-08 159/week @ 2025-03-15 160/week @ 2025-03-22 162/week @ 2025-03-29 199/week @ 2025-04-05

700 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

~25–39MB
~703K SLoC