Skip to content
프로젝트

소개

Rust로 구현한 사양 준수 GraphQL 도구입니다.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

apollo-rs

Rust tooling for manipulation of the GraphQL language.

Tools included

This project is intended to house a number of tools related to the low-level workings of GraphQL according to the GraphQL specification. Nothing in these libraries is specific to Apollo, and can freely be used by other projects which need standards-compliant GraphQL tooling written in Rust. The following crates currently exist:

  • apollo-compiler - a library to manipulate, semantically analyze, and validate GraphQL schema definition and query language
  • apollo-parser - a library to parse the GraphQL (used by apollo-compiler)
  • apollo-smith - a test case generator to deterministically produce arbitrary GraphQL documents

Please check out their respective READMEs for usage examples.

Status

apollo-rs is a living project that keeps evolving and is being used in production. If you try out apollo-rs and run into trouble, we encourage you to open an issue.

Design Principles

  1. Prioritizing developer experience. Elegant and ergonomic APIs is the theme for Rust as a language, and we want to make sure that all component APIs we provide are aligned with these principles.

  2. Stability and reliability. Spec-compliant, and idempotent APIs which can be used safely in enterprise-grade codebases.

  3. Diagnostics. The tools are to be written in a way that will allow us to produce detailed diagnostics. It does not panic or return early if there is a lexical or a syntactic error. Instead, the parser is meant to gather as much context and information as possible and return errors alongside the output that is valid. Coincidentally, this allows for easily debuggable code for those maintaining this project.

  4. Extensibility. The parser is written to work with different use cases in our budding Rust GraphQL ecosystem, be it building schema-diagnostics for Rover, or writing out query planning and composition algorithms in Rust. These all have quite different requirements when it comes to document manipulation. We wanted to make sure we account for them early on.

Rust versions

apollo-rs is tested on the latest stable version of Rust. Older version may or may not be compatible.

License

Licensed under either of

at your option.

관련 프로젝트 살펴보기

불러오는 중…