{"id":18926205,"url":"https://github.com/graph-quilt/graphql-xtext","last_synced_at":"2025-04-15T13:32:41.371Z","repository":{"id":43394303,"uuid":"224015872","full_name":"graph-quilt/graphql-xtext","owner":"graph-quilt","description":"A GraphQL SDL lexer, parser, and validator that can read GraphQL grammar and produce executable JVM runtime objects.","archived":false,"fork":false,"pushed_at":"2023-10-30T09:26:13.000Z","size":1691,"stargazers_count":22,"open_issues_count":5,"forks_count":6,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-28T22:07:20.197Z","etag":null,"topics":["grammars","graphql","graphql-java","graphql-sdl","java","schema-validation","xtext"],"latest_commit_sha":null,"homepage":null,"language":"Xtend","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graph-quilt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-11-25T18:33:37.000Z","updated_at":"2023-11-01T00:53:39.000Z","dependencies_parsed_at":"2023-01-22T18:30:22.940Z","dependency_job_id":null,"html_url":"https://github.com/graph-quilt/graphql-xtext","commit_stats":null,"previous_names":["intuit/graphql-xtext"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graph-quilt%2Fgraphql-xtext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graph-quilt%2Fgraphql-xtext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graph-quilt%2Fgraphql-xtext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graph-quilt%2Fgraphql-xtext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graph-quilt","download_url":"https://codeload.github.com/graph-quilt/graphql-xtext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249080342,"owners_count":21209510,"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":["grammars","graphql","graphql-java","graphql-sdl","java","schema-validation","xtext"],"created_at":"2024-11-08T11:14:58.812Z","updated_at":"2025-04-15T13:32:41.038Z","avatar_url":"https://github.com/graph-quilt.png","language":"Xtend","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL-Xtext\n\n[![CircleCI](https://circleci.com/gh/graph-quilt/graphql-xtext/tree/master.svg?style=svg\u0026circle-token=e643c37c269d36978ff4455c6fe86b32e145ed68)](https://circleci.com/gh/graph-quilt/graphql-xtext/tree/master)\n\nA GraphQL SDL lexer, parser, and validator that generates a traversable Abstract Syntax Tree from your GraphQL schema. GraphQL-Xtext will generate pure Java Objects that can be used at runtime.\n\nThe EMF objects can be used to implement Apollo Federation Spec and build a purely java based service that is truly open source.\n\n## Installing the Software \n\nThis project uses `java 8` and `maven 3.3+`. \n\n1. Download and install [Eclipse 2019](https://www.eclipse.org/downloads/).\n2. Install Xtext SDK in Eclipse:  \n   a. In Eclipse, click `Help --\u003e Install New Software` \n   \n   b. In Available Software, click Add to add a repository with location: \n   \n   ```http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/```\n   \n    \u003cimg alt=\"Add Repository\" src=\"./documents/images/addRepo.png\" width=\"500\"\u003e  \u003cbr /\u003e\n   c. Select and install Xtext Complete SDK (2.19.0)  \n3. Restart Eclipse.    \n   \n## Setting up the Project\n\n1. Clone [graphql-xtext](https://github.com/graph-quilt/graphql-xtext)\n2. Import the cloned project in Eclipse, click `File --\u003e Import Project --\u003e Maven --\u003e Existing Maven Project`\n3. Under the directory `com.intuit.graphql`,\nright click on `GenerateGraphQL.mwe2 --\u003e Run As --\u003e 1 MWE2 Workflow`\n\n## Testing the grammar in an IDE\n\nRight-click on the `com.intuit.graphql.ide` directory and Run As `Eclipse Application`\n\n## Building the project\n\n```\nmvn clean install\n```\n\n## Language Server Support\n\nGraphql-Xtext builds a Language Server executable under `com.intuit.graphql.parent/com.intuit.graphql.ide/target/`, named\n`com.intuit.graphql.ide-x.y.z-ls.jar`. This can be used to build generic application and cloud-based IDEs for the grammar.\n\n[`theia-xtext`](https://github.com/theia-ide/theia-xtext) is an example of a cloud-based IDE that uses the xtext language server jar.\n\n## License\n\n[Apache 2.0](./LICENSE)\n\n\n## Contributing\nRead the [Contribution guide](./.github/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraph-quilt%2Fgraphql-xtext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraph-quilt%2Fgraphql-xtext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraph-quilt%2Fgraphql-xtext/lists"}