pax_global_header00006660000000000000000000000064140020304540014502gustar00rootroot0000000000000052 comment=ae0a8a80eaba20bc9700962df08e37041f947f14 ruby-graphql-errors-0.4.0/000077500000000000000000000000001400203045400154325ustar00rootroot00000000000000ruby-graphql-errors-0.4.0/.gitignore000066400000000000000000000001771400203045400174270ustar00rootroot00000000000000/.bundle/ /.yardoc /Gemfile.lock /_yardoc/ /coverage/ /doc/ /pkg/ /spec/reports/ /tmp/ # rspec failure tracking .rspec_status ruby-graphql-errors-0.4.0/.rspec000066400000000000000000000000371400203045400165470ustar00rootroot00000000000000--format documentation --color ruby-graphql-errors-0.4.0/.ruby-version000066400000000000000000000000061400203045400200730ustar00rootroot000000000000002.3.4 ruby-graphql-errors-0.4.0/.tool-versions000066400000000000000000000000131400203045400202500ustar00rootroot00000000000000ruby 2.6.5 ruby-graphql-errors-0.4.0/.travis.yml000066400000000000000000000004201400203045400175370ustar00rootroot00000000000000language: ruby rvm: - 2.3.8 env: - COVERALLS_RUN_LOCALLY=true before_install: gem install bundler -v '< 2' matrix: include: - gemfile: graphql-1.7.gemfile env: GRAPHQL_RUBY_VERSION=1_7 - gemfile: graphql-1.8.gemfile env: GRAPHQL_RUBY_VERSION=1_8 ruby-graphql-errors-0.4.0/CHANGELOG.md000066400000000000000000000024511400203045400172450ustar00rootroot00000000000000# Changelog The following are lists of the notable changes included with each release. This is intended to help keep people informed about notable changes between versions, as well as provide a rough history. Each item is prefixed with one of the following labels: `Added`, `Changed`, `Deprecated`, `Removed`, `Fixed`, `Security`. We also use [Semantic Versioning](http://semver.org) to manage the versions of this gem so that you can set version constraints properly. #### [Unreleased](https://github.com/exAspArk/graphql-errors/compare/v0.4.0...HEAD) * WIP #### [v0.4.0](https://github.com/exAspArk/graphql-errors/compare/v0.3.0...v0.4.0) – 2019-11-12 * `Added`: handle `rescue_from` Module arguments. [#19](https://github.com/exAspArk/graphql-errors/pull/19) #### [v0.3.0](https://github.com/exAspArk/graphql-errors/compare/v0.2.0...v0.3.0) – 2018-12-17 * `Added`: handle errors from lazy resolvers. [#14](https://github.com/exAspArk/graphql-errors/pull/14) #### [v0.2.0](https://github.com/exAspArk/graphql-errors/compare/v0.1.0...v0.2.0) – 2018-03-15 * `Added`: `object, argument, context` to rescue_from. [#8](https://github.com/exAspArk/graphql-errors/pull/8) #### [v0.1.0](https://github.com/exAspArk/graphql-errors/compare/b24b18c...v0.1.0) – 2017-08-29 * `Added`: initial functional version. ruby-graphql-errors-0.4.0/CODE_OF_CONDUCT.md000066400000000000000000000062321400203045400202340ustar00rootroot00000000000000# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members Examples of unacceptable behavior by participants include: * The use of sexualized language or imagery and unwelcome sexual attention or advances * Trolling, insulting/derogatory comments, and personal or political attacks * Public or private harassment * Publishing others' private information, such as a physical or electronic address, without explicit permission * Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. ## Scope This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at exaspark@gmail.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] [homepage]: http://contributor-covenant.org [version]: http://contributor-covenant.org/version/1/4/ ruby-graphql-errors-0.4.0/Gemfile000066400000000000000000000002461400203045400167270ustar00rootroot00000000000000source "https://rubygems.org" gem 'pry' gem 'graphql', '~> 1.8.4' gem 'batch-loader', '~> 1.2' # Specify your gem's dependencies in graphql-errors.gemspec gemspec ruby-graphql-errors-0.4.0/LICENSE.txt000066400000000000000000000020631400203045400172560ustar00rootroot00000000000000The MIT License (MIT) Copyright (c) 2017 exAspArk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ruby-graphql-errors-0.4.0/README.md000066400000000000000000000075541400203045400167240ustar00rootroot00000000000000# graphql-errors [![Build Status](https://travis-ci.org/exAspArk/graphql-errors.svg?branch=master)](https://travis-ci.org/exAspArk/graphql-errors) [![Coverage Status](https://coveralls.io/repos/github/exAspArk/graphql-errors/badge.svg?branch=master)](https://coveralls.io/github/exAspArk/graphql-errors?branch=master) [![Downloads](https://img.shields.io/gem/dt/graphql-errors.svg)](https://rubygems.org/gems/graphql-errors) [![Latest Version](https://img.shields.io/gem/v/graphql-errors.svg)](https://rubygems.org/gems/graphql-errors) This gem provides a simple error handling for [graphql-ruby](https://github.com/rmosolgo/graphql-ruby). Sponsored by Hyre ## Highlights * Error handling for each field. * Logic inside the `rescue_from` block, similarly to Rails. * Catching exceptions by ancestors, e.g. `CustomError` with `rescue_from StandardError`. * Per schema configuration. * No dependencies. ## Usage Once you defined your GraphQL schema: ```ruby Schema = GraphQL::Schema.define do query QueryType end ``` You can add `rescue_from` error handlers with `GraphQL::Errors`. For example: ```ruby GraphQL::Errors.configure(Schema) do rescue_from ActiveRecord::RecordNotFound do |exception| nil end rescue_from ActiveRecord::RecordInvalid do |exception| GraphQL::ExecutionError.new(exception.record.errors.full_messages.join("\n")) end # uses Module to handle several similar errors with single rescue_from rescue_from MyNetworkErrors do |_| GraphQL::ExecutionError.new("Don't mind, just retry the mutation") end rescue_from StandardError do |exception| GraphQL::ExecutionError.new("Please try to execute the query for this field later") end rescue_from CustomError do |exception, object, arguments, context| error = GraphQL::ExecutionError.new("Error found!") firstError.path = context.path + ["myError"] context.add_error(firstError) end end ``` It'll handle exceptions raised from each resolver in the schema: ```ruby QueryType = GraphQL::ObjectType.define do name "Query" field :post, PostType do argument :id, !types.ID resolve ->(obj, args, ctx) { Post.find(args['id']) } # <= will raise ActiveRecord::RecordNotFound end end Schema.execute('query { post(id: "1") { title } }') # handles the error without failing the whole query # => { data: { post: nil } } ``` ## Installation Add this line to your application's Gemfile: ```ruby gem 'graphql-errors' ``` And then execute: $ bundle Or install it yourself as: $ gem install graphql-errors ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/exAspArk/graphql-errors. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). ## Code of Conduct Everyone interacting in the Graphql::Errors project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/exAspArk/graphql-errors/blob/master/CODE_OF_CONDUCT.md). ruby-graphql-errors-0.4.0/Rakefile000066400000000000000000000001651400203045400171010ustar00rootroot00000000000000require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) task :default => :spec ruby-graphql-errors-0.4.0/bin/000077500000000000000000000000001400203045400162025ustar00rootroot00000000000000ruby-graphql-errors-0.4.0/bin/console000077500000000000000000000005351400203045400175750ustar00rootroot00000000000000#!/usr/bin/env ruby require "bundler/setup" require "graphql/errors" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. # (If you use this, don't forget to add pry to your Gemfile!) # require "pry" # Pry.start require "irb" IRB.start(__FILE__) ruby-graphql-errors-0.4.0/bin/setup000077500000000000000000000002031400203045400172630ustar00rootroot00000000000000#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' set -vx bundle install # Do any other automated setup that you need to do here ruby-graphql-errors-0.4.0/graphql-1.7.gemfile000066400000000000000000000001731400203045400207260ustar00rootroot00000000000000source "https://rubygems.org" gem "pry" gem 'coveralls' gem 'batch-loader', '~> 1.2' gem "graphql", "~> 1.7.14" gemspec ruby-graphql-errors-0.4.0/graphql-1.8.gemfile000066400000000000000000000001721400203045400207260ustar00rootroot00000000000000source "https://rubygems.org" gem "pry" gem 'coveralls' gem 'batch-loader', '~> 1.2' gem "graphql", "~> 1.8.4" gemspec ruby-graphql-errors-0.4.0/graphql-errors.gemspec000066400000000000000000000022001400203045400217410ustar00rootroot00000000000000# coding: utf-8 lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "graphql/errors/version" Gem::Specification.new do |spec| spec.name = "graphql-errors" spec.version = GraphQL::Errors::VERSION spec.authors = ["exAspArk"] spec.email = ["exaspark@gmail.com"] spec.summary = %q{Simple error handler for graphql-ruby} spec.description = %q{Simple error handler for graphql-ruby} spec.homepage = "https://github.com/exAspArk/graphql-errors" spec.license = "MIT" spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] spec.required_ruby_version = '>= 2.1.0' # keyword args spec.add_runtime_dependency "graphql", ">= 1.6.0", "< 2" spec.add_development_dependency "bundler", "~> 1.15" spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rspec", "~> 3.0" spec.add_development_dependency "pry" end ruby-graphql-errors-0.4.0/images/000077500000000000000000000000001400203045400166775ustar00rootroot00000000000000ruby-graphql-errors-0.4.0/images/hyre.png000066400000000000000000000267371400203045400203730ustar00rootroot00000000000000PNG  IHDRN  pHYs.#.#x?viTXtXML:com.adobe.xmp adobe:docid:photoshop:fe5ca78c-0d8e-c54e-b793-de583f94ec64 mQ&IDATxwՕs:LOEJ 0,$ۻۋa0~3JFaHvxfXq8EJ8=GFD%ӯ5Tus=\QUBBB #SYG CUrP;f"ΓN5k&0yc-jF FFBL}Չ.Aճs<nqb" 95)bB'.tZ'(e8փ)jAψDDub4juu; 8s:P=%.?H%qKʾ*\q Qp/| IH >iʡ**U $q/~p$IHȑe6 \**(h%S񃩾O2sp4*#C90?{ )-UFZrg@NDD dĘ#+bH" 󺲟R1I%҃ bt6@<-#HBB0v~W(;Dg!ݼ+ȧg/ڹV"~+:Sˏܽ~=i!!Ga @_VȀLWS1w puM$$ИbȕWC%ҋPAaB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hvp儊$$dh:y-A*1A`Q.ܥzB IH Tȯxb4cKc "ν@ͅ>>$T3n,Sot8]vG⥏ T6HBB`ikE1*#-Ml&MS3~`-hCE2|ƽ[=o qm1fm&$dl/n/MT>3͙{ūhKʭ%'t( E2rGJՁS/qlI7=VtZ$!!Ƽ%DGITz¶e}Pq8IHȡ5,8/ b_S yV*#J.o]HpOiq+KD4vWTYK4D#e[G; F8 9P{:GGT2ŝZ+=ArIRDU'Z,QȈoS2 &y6vnOIENDB`ruby-graphql-errors-0.4.0/lib/000077500000000000000000000000001400203045400162005ustar00rootroot00000000000000ruby-graphql-errors-0.4.0/lib/graphql/000077500000000000000000000000001400203045400176365ustar00rootroot00000000000000ruby-graphql-errors-0.4.0/lib/graphql/errors.rb000066400000000000000000000034561400203045400215070ustar00rootroot00000000000000# frozen_string_literal: true require "graphql" require "graphql/errors/version" module GraphQL class Errors EmptyConfigurationError = Class.new(StandardError) EmptyRescueError = Class.new(StandardError) NotRescuableError = Class.new(StandardError) def self.configure(schema, &block) raise EmptyConfigurationError unless block instance = new(&block) schema.instrument(:field, instance) end def initialize(&block) @handler_by_class = {} self.instance_eval(&block) end def instrument(_type, field) old_resolve_proc = field.resolve_proc new_resolve_proc = lambda do |obj, args, ctx| wrap_proc(obj, args, ctx, old_resolve_proc) end old_lazy_resolve_proc = field.lazy_resolve_proc new_lazy_resolve_proc = lambda do |obj, args, ctx| wrap_proc(obj, args, ctx, old_lazy_resolve_proc) end field.redefine do resolve(new_resolve_proc) lazy_resolve(new_lazy_resolve_proc) end end def rescue_from(*classes, &block) raise EmptyRescueError unless block classes.each do |klass| if klass.is_a?(Module) && klass.respond_to?(:===) @handler_by_class[klass] ||= block else raise NotRescuableError.new(klass.inspect) end end end private def wrap_proc(object, arguments, context, old_proc) begin old_proc.call(object, arguments, context) rescue => exception if handler = find_handler(exception) handler.call(exception, object, arguments, context) else raise exception end end end def find_handler(exception) @handler_by_class.each do |klass, handler| return handler if klass === exception end nil end end end ruby-graphql-errors-0.4.0/lib/graphql/errors/000077500000000000000000000000001400203045400211525ustar00rootroot00000000000000ruby-graphql-errors-0.4.0/lib/graphql/errors/version.rb000066400000000000000000000001351400203045400231630ustar00rootroot00000000000000# frozen_string_literal: true module GraphQL class Errors VERSION = "0.4.0" end end