{"id":13879303,"url":"https://github.com/broadlume/graphql-validation","last_synced_at":"2025-10-10T20:52:55.280Z","repository":{"id":56875218,"uuid":"105721524","full_name":"broadlume/graphql-validation","owner":"broadlume","description":"Simple validation of GraphQL inputs in Ruby","archived":false,"fork":false,"pushed_at":"2017-10-16T18:04:27.000Z","size":14,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-10-07T19:16:20.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/broadlume.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-04T01:37:16.000Z","updated_at":"2020-10-08T19:56:48.000Z","dependencies_parsed_at":"2022-08-20T22:00:35.676Z","dependency_job_id":null,"html_url":"https://github.com/broadlume/graphql-validation","commit_stats":null,"previous_names":["adhawk/graphql-validation"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/broadlume/graphql-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broadlume%2Fgraphql-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broadlume%2Fgraphql-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broadlume%2Fgraphql-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broadlume%2Fgraphql-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/broadlume","download_url":"https://codeload.github.com/broadlume/graphql-validation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broadlume%2Fgraphql-validation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005255,"owners_count":26083864,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-06T08:02:16.774Z","updated_at":"2025-10-10T20:52:55.243Z","avatar_url":"https://github.com/broadlume.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/graphql-validation.svg)](https://badge.fury.io/rb/graphql-validation)\n[![Build Status](https://travis-ci.org/adHawk/graphql-validation.svg?branch=master)](https://travis-ci.org/adHawk/graphql-validation)\n\n# Graphql::Validation\n\nA simple gem to help with common validating GraphQL input objects.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'graphql-validation'\n```\n\nAnd then execute:\n\n    $ bundle\n\n## Usage\n\n```ruby\nProductValidator = Dry::Validation.Form do\n  required(:amount).filled(:int?, gteq?: 0)\nend\n\nCreateProductMutation = GraphQL::Relay::Mutation.define do\n  input_field :product, !ProductInputType, validate_with: ProductValidator\n  return_field :id, types.ID\n  # ...\nend\n\nMutationType = GraphQL::ObjectType.define do\n  name 'Mutation'\n  description 'The mutation root of this schema'\n  field :createProduct, field: CreateProductMutation.field\nend\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroadlume%2Fgraphql-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbroadlume%2Fgraphql-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroadlume%2Fgraphql-validation/lists"}