botanist

Crates.iobotanist
lib.rsbotanist
version0.1.0
sourcesrc
created_at2021-04-08 01:41:48.754189
updated_at2021-04-08 01:41:48.754189
descriptionGenerate GraphQL schemas from Diesel models
homepage
repositoryhttps://github.com/cwheel/botanist
max_upload_size
id380611
size4,237
Cameron Wheeler (cwheel)

documentation

https://cwheel.github.io/botanist

README

Botanist

An experimental Diesel backed GraphQL ORM layer for Juniper.

Botanist will generate a fully featured GraphQL schema from your existing Diesel models and a few bits of additional information you provided. Botanist enables the fast development of rich data models without the need to spend time writing explicit resolvers manually. Of course, writing additional resolvers manually is still supported should you require any more significant application logic.

Features

  • Schema generation from Diesel models
  • Bulk load/single load query generation
  • Simple HasOne / HasMany abstractions
  • HasMany Pagination
  • Supports runtime query modification per model (Useful for authorization)
  • Create/Update/Delete mutation generation
  • Batch model 'preloading' via Juniper LookAheadSelection's
Commit count: 56

cargo fmt