![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
graphql-ruby-client
Advanced tools
Find the graphql-ruby-client
docs on the GraphQL-Ruby website.
graphql-ruby-client
is available under the LGPLv3 license;
graphql-pro customers are granted a special commercial license.
rake js:install
rake js:test
yarn install
yarn run test
npm link .
1.4.0 (8 Jan 2017)
One-argument schema filters are deprecated. Schema filters are now called with two arguments, (member, ctx)
. #463 To update, add a second argument to your schema filter.
The arity of middleware #call
methods has changed. Instead of next_middleware
being the last argument, it is passed as a block. To update, call yield
to continue the middleware chain or use &next_middleware
to capture next_middleware
into a local variable.
# Previous:
def call(*args, next_middleware)
next_middleware.call
end
# Current
def call(*args)
yield
end
# Or
def call(*args, &next_middleware)
next_middleware.call
end
You can add a nodes
field directly to a connection. #451 That way you can say { friends { nodes } }
instead of { freinds { edges { node } } }
. Either pass nodes_field: true
when defining a custom connection type, for example:
FriendsConnectionType = FriendType.define_connection(nodes_field: true)
Or, set GraphQL::Relay::ConnectionType.default_nodes_field = true
before defining your schema, for example:
GraphQL::Relay::ConnectionType.default_nodes_field = true
MySchema = GraphQL::Schema.define { ... }
Middleware performance was dramatically improved by reducing object allocations. #462 next_middleware
is now passed as a block. In general, yield
is faster than calling a captured block.
Improve error messages for wrongly-typed variable values #423
Cache the value of resolve_type
per object per query #462
Pass ctx
to schema filters #463
Accept whitelist schema filters as only:
#463
Add Schema#to_definition
which accepts only:/except:
to filter the schema when printing #463
Add Schema#default_mask
as a default except:
filter #463
Add reflection methods to types #473
#introspection?
marks built-in introspection types#default_scalar?
marks built-in scalars#default_relay?
marks built-in Relay types#default_directive?
marks built-in directiveslast
without before
#362FAQs
JavaScript client for graphql-ruby
The npm package graphql-ruby-client receives a total of 58,719 weekly downloads. As such, graphql-ruby-client popularity was classified as popular.
We found that graphql-ruby-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.