gabotechs/graphqxl
关于
GraphQXL is a new language built on top of the GraphQL syntax that extends the original language with some additional features useful for creating scalable and big server side schemas. This repository contains the source code for the GraphQXL compiler.
编程语言与运行时实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
GraphQXL is a new language built on top of the GraphQL syntax that extends the original language with some additional features useful for creating scalable and big server side schemas.
Documentation
There is a WIP version of the GraphQXL book with some useful docs, you can check it here
Features
Object inheritance
Use the spread operator to inherit fields from other types or inputs. Descriptions will also be inherited.
| Source GraphQXL | Compiled GraphQL |
|---|---|
|
|
Generics
Declare generic types and inputs in order to reuse common structures across your schema.
| Source GraphQXL | Compiled GraphQL |
|---|---|
|
|
Modifiers
Modify types and inputs with built-in modifiers.
| Source GraphQXL | Compiled GraphQL |
|---|---|
|
|
Import statements
Import other .graphqxl files and use their definitions in the current file.
| Source GraphQXL | Compiled GraphQL |
|---|---|
|
|
Install
For brew users:
brew install graphqxl
There is built-in support for the following programming languages:
There are also precompiled binaries for each architecture that you can download directly from GitHub releases:
Mac M1
wget https://github.com/gabotechs/graphqxl/releases/latest/download/graphqxl-aarch64-apple-darwin.tar.gz
tar -xvf graphqxl-aarch64-apple-darwin.tar.gz
Mac Intel
wget https://github.com/gabotechs/graphqxl/releases/latest/download/graphqxl-x86_64-apple-darwin.tar.gz
tar -xvf graphqxl-x86_64-apple-darwin.tar.gz
Linux x86_64
wget https://github.com/gabotechs/graphqxl/releases/latest/download/graphqxl-x86_64-unknown-linux-gnu.tar.gz
tar -xvf graphqxl-x86_64-unknown-linux-gnu.tar.gz
Linux aarch64
wget https://github.com/gabotechs/graphqxl/releases/latest/download/graphqxl-aarch64-unknown-linux-gnu.tar.gz
tar -xvf graphqxl-aarch64-unknown-linux-gnu.tar.gz
Usage
./graphqxl foo.graphqxl
this will output foo.graphql as a result
探索相关项目
加载中…