graphql-ruby-client
Advanced tools
Changelog
1.13.3 (6 January 2022)
GraphQL::Relay::NodeField
and GraphQL::Relay::NodesField
are deprecated; use GraphQL::Types::Relay::HasNodesField
or GraphQL::Types::Relay::HasNodeField
instead. (The underlying field instances require a reference to their owner type, but NodeField
and NodesField
can't do that, since they're shared instances) #3791required: :nullable
to make an argument required to be present, even if it's null
#3784.authorized?
on them at runtime #3786extras(...)
for extension-related extras with automatic cleanup #3787query { ... }
but has no query root #3815Schema.get_field
can't make sense of the arguments #3815prepare:
hooks #3794Changelog
1.13.2 (15 December 2021)
loads:
#3782Interpreter::Arguments
instance as context[:current_arguments]
#3783Changelog
1.13.1 (13 December 2021)
.to_graphql
and .graphql_definition
are deprecated and will be removed in GraphQL-Ruby 2.0. All features using those legacy definitions are already removed and all behaviors should have been ported to class-based definitions. So, you should be able to remove those calls entirely. Please open an issue if you have trouble with it! #3750 #3765context.response_extensions[...] = ...
adds key-value pairs to the "extensions" => {...}
hash in the final response #3770node_type
and edge_type
accept field_options:
to pass custom options to generated fields #3756default_argument ...
configuration for adding arguments if the field doesn't already have them #3751rails destroy graphql:install
#3739.authorized?
on arguments from input_object_class
, input_type
, too #3738validates: { length: ... }, allow_blank: false
#3747edges
and nodes
fields by page size #3758