{"id":17993060,"url":"https://github.com/leostera/fuzzql","last_synced_at":"2025-03-26T01:31:40.450Z","repository":{"id":141534852,"uuid":"163748021","full_name":"leostera/fuzzql","owner":"leostera","description":"⚙️ A GraphQL Fuzzy Testing Toolkit","archived":false,"fork":false,"pushed_at":"2019-01-01T17:12:16.000Z","size":5,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T01:11:11.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leostera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-01-01T15:49:29.000Z","updated_at":"2020-03-13T06:40:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ca2e4c5-d2ff-4630-835f-e908db11f97d","html_url":"https://github.com/leostera/fuzzql","commit_stats":null,"previous_names":["leostera/fuzzql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leostera%2Ffuzzql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leostera%2Ffuzzql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leostera%2Ffuzzql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leostera%2Ffuzzql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leostera","download_url":"https://codeload.github.com/leostera/fuzzql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245571865,"owners_count":20637411,"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":[],"created_at":"2024-10-29T20:10:07.542Z","updated_at":"2025-03-26T01:31:40.188Z","avatar_url":"https://github.com/leostera.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FuzzQL — A GraphQL Fuzzy Testing Tool\n\n## Scope\n\nDuring the live-stream in [ReasonableCoding](https://twitch.tv/ostera) we\nwill try to hit the following milestones.\n\n### 1. Generate a random value on a query [DONE!]\n\nOn query:\n\n```graphql\n{\n  people {\n    first_name\n    last_name\n    hometown\n    alter_ego {\n      name\n    }\n  }\n}\n```\n\nWe should see a random person generated:\n\n```json\n{\n  \"data\": {\n    \"people\": [\n      {\n        \"first_name\": \"Asdf98uaf112\",\n        \"last_name\": \"fnali10_@#18das\",\n        \"hometown\": \"\"fisodfj;aosf;esainf;ds\",\n        \"alter_ego\": {\n          \"name\": \"901fdasfsa98h\"\n        }\n      },\n    ],\n  }\n}\n```\n\n## Notes and Doodles\n\n#### What would it take to read a .graphql file and generate the emulator?\n\n`schema.graphql =\u003e native graphql api (- the transport)`\n\n1. Reads a file\n\n2. Parses that file into an AST:\n  * ~~We'll need to write a GraphQL SDL Parser (angstrom)~~\n  * If the file is the schema dump as JSON, we don't need to write a parser!\n\n3. Generate Reason/OCaml Types that match that AST from 2\n  * use OCaml Typedtree to write these types\n\n4. Generate GraphQL Schema (from the lib) that matches the AST from 2\n  * use OCaml Typedtree to write this code\n\n4. Generate Generators for those Reason/OCaml types\n  * use OCaml Typedtree to write this code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleostera%2Ffuzzql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleostera%2Ffuzzql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleostera%2Ffuzzql/lists"}