graphql_rails icon indicating copy to clipboard operation
graphql_rails copied to clipboard

GraphQL on Rails. Write GraphQL server side in rails way

Results 25 graphql_rails issues
Sort by recently updated
recently updated
newest added

This PR adds backtrace to SystemError

enhancement

Rails controller has a method `["rescue_from"](https://edgeapi.rubyonrails.org/classes/ActiveSupport/Rescuable/ClassMethods.html#method-i-rescue_from) which allows customizing response when a specific error happens. It would be nice to have the same feature for GraphqlRails controllers. This would enable...

enhancement
good first issue

```ruby class SomeConrtoller < GraphqlRails::Controller before_action :render_error action(:my_action).returns('String') def my_action puts "my action" end def render_error render(errors: ['error']) end end ``` this code renders `['error']` and also prints "my action"....

bug

Bumps [rack](https://github.com/rack/rack) from 2.2.3 to 2.2.3.1. Changelog Sourced from rack's changelog. Changelog All notable changes to this project will be documented in this file. For info on how to format...

dependencies

At the moment I am forced to write a lot of ugly when my attribute type is a subtype of another input: ```ruby graphql.input do |c| c.attribute(:foo) .type(Foo.graphql.input(:create_foo_input).graphql_input_type) end ```...

enhancement
good first issue

In case of wrong time we usually receive message such as: ```ruby /home/povilas/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/graphql_rails-2.1.0/lib/graphql_rails/attributes/type_parseable.rb:164:in `raise_not_supported_type_error': Type "[Types::SomeTypeWithTypo!]!" is not supported. Supported scalar types are: ["id", "int", "integer", "big_int", "bigint", "float", "double",...

enhancement

With automated CI, we currently lack automated/semi-automated release flow. There's no obvious release rules or guidelines, so this needs to be discussed first.

help wanted
question

```shell DEPRECATION WARNING: GraphQL::InputObjectType.define will be removed in GraphQL-Ruby 2.0; use a class-based definition instead. See https://graphql-ruby.org/schema/class_based_api.html. ```

dependencies

Hello. I can't quite tell if this library will infer any controller actions and model based on conventions or if I am supposed to always specify it. ``` resources :users...

It's possible to define custom `max_page_size` in controller action like this: ```ruby class MyController < GraphqlRails::Controller action(:index).paginated(max_page_size: 999) end ``` sadly this does not work as promised - it still...

bug