graphql-rewriter

command module
v0.0.0-...-5e83ca3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

README

graphql-rewriter

从http协议中接受graphql查询,并重写其中的查询

关键流程:

graph LR
    query --graphql--> graphql-parser
    subgraph rewriter-pipeline
    graphql-parser --> plugin-A 
    graphql-parser --> plugin-B
    graphql-parser --> plugin-X
    plugin-A --> graphqlFormater
    plugin-B --> graphqlFormater
    plugin-X --> graphqlFormater
    end
    graphqlFormater --format--new graphql--> dgraph[(graphql db)]

主要技术栈:

  • gin
  • graphql
  • gqlparser
  • hasura/go-graphql-client
  • json-patch
  • wasmedge
  • wasmdege-bindgen
  • golang plugin

主要功能:

  • 替换部分查询

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
package
web
plugins
print Module
result_remove Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL