{"id":13700797,"url":"https://gabotechs.github.io/graphqxl/","last_synced_at":"2025-05-04T19:33:17.291Z","repository":{"id":59184757,"uuid":"520160112","full_name":"gabotechs/graphqxl","owner":"gabotechs","description":"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.","archived":false,"fork":false,"pushed_at":"2024-03-18T19:00:03.000Z","size":1578,"stargazers_count":272,"open_issues_count":2,"forks_count":8,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-11-06T06:02:18.228Z","etag":null,"topics":["api","apollo","apollo-server","compiler","graphql","grapqhl-client","language","rust","schema","server","transpiler"],"latest_commit_sha":null,"homepage":"https://gabotechs.github.io/graphqxl","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabotechs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-01T15:15:07.000Z","updated_at":"2024-09-18T05:20:31.000Z","dependencies_parsed_at":"2024-08-01T13:19:50.007Z","dependency_job_id":"c0ba219c-74bf-48af-8cd4-9955bb52c350","html_url":"https://github.com/gabotechs/graphqxl","commit_stats":{"total_commits":219,"total_committers":14,"mean_commits":"15.642857142857142","dds":0.5388127853881279,"last_synced_commit":"a835ede257a2bb004502d2475e99452d51e3c555"},"previous_names":[],"tags_count":96,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabotechs%2Fgraphqxl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabotechs%2Fgraphqxl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabotechs%2Fgraphqxl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabotechs%2Fgraphqxl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabotechs","download_url":"https://codeload.github.com/gabotechs/graphqxl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224406065,"owners_count":17305718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","apollo","apollo-server","compiler","graphql","grapqhl-client","language","rust","schema","server","transpiler"],"created_at":"2024-08-02T20:01:01.700Z","updated_at":"2024-11-13T06:31:27.085Z","avatar_url":"https://github.com/gabotechs.png","language":"Rust","funding_links":[],"categories":["Specifications"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"\" height=\"200\" src=\"./docs/src/assets/graphqxl-name.svg\"\u003e\n    \u003cimg alt=\"\" height=\"200\" src=\"./docs/src/assets/graphqxl.svg\"\u003e\n\u003c/p\u003e\n\n[![Coverage Status](https://coveralls.io/repos/github/gabotechs/graphqxl/badge.svg?branch=main)](https://coveralls.io/github/gabotechs/graphqxl?branch=main)\n[![Book](https://img.shields.io/badge/book-WIP-4d76ae.svg)](https://gabotechs.github.io/graphqxl)\n![](https://img.shields.io/github/v/release/gabotechs/graphqxl?color=%e535abff)\n\nGraphQXL is a new language built on top of the GraphQL syntax that extends the original \nlanguage with some additional features useful for creating scalable and big server side schemas.\n\n# Documentation\n\nThere is a WIP version of the `GraphQXL book` with some useful docs, you can check it [here](https://gabotechs.github.io/graphqxl)\n\n# Features\n### Object inheritance\n\nUse the spread operator to inherit fields from other types or inputs. Descriptions\nwill also be inherited.\n\n[Try it yourself!](https://graphqxl-explorer.vercel.app?code=dHlwZSBfT3RoZXJUeXBlIHsKICAgICJEZXNjcmlwdGlvbnMgYXJlIGFsc28gaW5oZXJpdGVkIgogICAgYmFyOiBJbnQhCn0KCnR5cGUgTXlUeXBlIHsKICAgIGZvbzogU3RyaW5nIQogICAgLi4uX090aGVyVHlwZQp9)\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\n                Source GraphQXL\n            \u003c/th\u003e\n            \u003cth\u003e\n                Compiled GraphQL\n            \u003c/th\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e \n\n\n```graphql\ntype _OtherType {\n    \"Descriptions are also inherited\"\n    bar: Int!\n}\n\ntype MyType {\n    foo: String!\n    ..._OtherType\n}\n                              #GraphQXL\n```\n\u003c/td\u003e\u003ctd\u003e\n\n```graphql\ntype MyType {\n    foo: String!\n    \"Descriptions are also inherited\"\n    bar: Int!\n}\n\n\n\n\n                               #GraphQL\n```\n\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e\n\n### Generics\n\nDeclare generic types and inputs in order to reuse common structures across your schema.\n\n[Try it yourself!](https://graphqxl-explorer.vercel.app?code=dHlwZSBHZW5lcmljPFQ%2bIHsKICAgIGZvbzogVAp9Cgp0eXBlIE15U3RyaW5nVHlwZSA9IEdlbmVyaWM8U3RyaW5nIT4KCnR5cGUgTXlJbnRUeXBlID0gR2VuZXJpYzxJbnQhPgo=)\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\n                Source GraphQXL\n            \u003c/th\u003e\n            \u003cth\u003e\n                Compiled GraphQL\n            \u003c/th\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e \n\n```graphql\ntype Generic\u003cT\u003e {\n    foo: T\n}\n\ntype MyStringType = Generic\u003cString!\u003e\n\ntype MyIntType = Generic\u003cInt!\u003e\n\n                              #GraphQXL\n```\n\u003c/td\u003e\u003ctd\u003e\n\n```graphql\ntype MyStringType {\n    foo: String!\n}\n\ntype MyIntType {\n    foo: Int!\n}\n\n                               #GraphQL\n```\n\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e\n\n### Modifiers\n\nModify `types` and `inputs` with built-in modifiers.\n\n[Try it yourself!](https://graphqxl-explorer.vercel.app?code=dHlwZSBfTXlUeXBlIHsKICAgIGZvbzogU3RyaW5nCiAgICBiYXI6IFN0cmluZyEKfQoKdHlwZSBNeVR5cGVSZXF1aXJlZCA9IFJlcXVpcmVkPF9NeVR5cGU%2bCgp0eXBlIE15VHlwZU9wdGlvbmFsID0gT3B0aW9uYWw8X015VHlwZT4K)\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\n                Source GraphQXL\n            \u003c/th\u003e\n            \u003cth\u003e\n                Compiled GraphQL\n            \u003c/th\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e \n\n```graphql\ntype _MyType {\n    foo: String\n    bar: String!\n}\n\ntype MyTypeRequired = Required\u003c_MyType\u003e\n\ntype MyTypeOptional = Optional\u003c_MyType\u003e\n\n                            #GraphQXL\n```\n\u003c/td\u003e\u003ctd\u003e\n\n```graphql\ntype MyTypeRequired {\n    foo: String!\n    bar: String!\n}\n\ntype MyTypeOptional {\n    foo: String\n    bar: String\n}\n                               #GraphQL\n```\n\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e\n\n\n### Import statements\n\nImport other `.graphqxl` files and use their definitions in the current file.\n\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\n                Source GraphQXL\n            \u003c/th\u003e\n            \u003cth\u003e\n                Compiled GraphQL\n            \u003c/th\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e \n\n```graphql\n# my_file.graphqxl\nimport \"other_file\"\n\ntype MyType {\n    foo: OtherType!\n}\n                              #GraphQXL\n```\n```graphql\n# other_file.graphqxl\ntype OtherType {\n    bar: Int!\n}\n                              #GraphQXL\n```\n\u003c/td\u003e\u003ctd\u003e\n\n```graphql\n# my_file.graphql\ntype OtherType {\n    bar: Int!\n}\n\ntype MyType {\n    foo: OtherType!\n}\n\n\n\n\n\n\n                               #GraphQL\n```\n\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/table\u003e\n\n\n## Install\n\nFor brew users:\n\n```shell\nbrew install graphqxl\n```\n\nThere is built-in support for the following programming languages:\n- [Node](https://github.com/gabotechs/node-graphqxl)\n\nThere are also precompiled binaries for each architecture that you can download directly from\nGitHub releases:\n\nMac M1\n\n```shell\nwget https://github.com/gabotechs/graphqxl/releases/latest/download/graphqxl-aarch64-apple-darwin.tar.gz\ntar -xvf graphqxl-aarch64-apple-darwin.tar.gz\n```\n\nMac Intel\n\n```shell\nwget https://github.com/gabotechs/graphqxl/releases/latest/download/graphqxl-x86_64-apple-darwin.tar.gz\ntar -xvf graphqxl-x86_64-apple-darwin.tar.gz\n```\n\nLinux x86_64\n\n```shell\nwget https://github.com/gabotechs/graphqxl/releases/latest/download/graphqxl-x86_64-unknown-linux-gnu.tar.gz\ntar -xvf graphqxl-x86_64-unknown-linux-gnu.tar.gz\n```\n\nLinux aarch64\n\n```shell\nwget https://github.com/gabotechs/graphqxl/releases/latest/download/graphqxl-aarch64-unknown-linux-gnu.tar.gz\ntar -xvf graphqxl-aarch64-unknown-linux-gnu.tar.gz\n```\n\n## Usage\n\n```shell\n./graphqxl foo.graphqxl\n```\n\nthis will output `foo.graphql` as a result\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gabotechs.github.io%2Fgraphqxl%2F","html_url":"https://awesome.ecosyste.ms/projects/gabotechs.github.io%2Fgraphqxl%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gabotechs.github.io%2Fgraphqxl%2F/lists"}