You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/execution/migration.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,9 +48,9 @@ Adopting a feature flag system (described below) can also make this easier.
48
48
49
49
When all tests pass on `.execute_next`, you're ready to try it out in production.
50
50
51
-
## COMING SOON: Migration and Clean-Up Script
51
+
## Migration and Clean-Up Script
52
52
53
-
Migrating field implementations can be automated in many cases. A script to analyze and execute these cases is in the works: [Pull Request](https://github.com/rmosolgo/graphql-ruby/pull/5531). This script will also be able to clean up unused instance methods when the migration is complete.
53
+
`graphql_migrate_execution` is a command-line development tool that can automate many common GraphQL-Ruby field resolver patterns. Check out its docs and try out: https://rmosolgo.github.io/graphql_migrate_execution/
54
54
55
55
## Production Considerations
56
56
@@ -159,7 +159,7 @@ Previously, GraphQL-Ruby would check `type_object.respond_to?(:title)`, `object.
159
159
160
160
Now, GraphQL-Ruby simply calls `object.title` and allows the `NoMethodError` to bubble up if one is raised.
161
161
162
-
### Query Analyzers, including complexity 🌕
162
+
### Query Analyzers, including complexity 🟡
163
163
164
164
Support is identical; this runs before execution using the exact same code.
165
165
@@ -219,7 +219,7 @@ Not supported yet. This will need some new kind of integration.
219
219
220
220
These methods/procs are called.
221
221
222
-
### `validates:`❌
222
+
### `validates:`🟡
223
223
224
224
Built-in validators are supported. Custom validators will always receive `nil` as the `object`. (`object` is no longer available; this API will probably change before this is fully released.)
@field_definition=query.get_field(@parent_type,field_name) || raise("Invariant: no field found for #{@parent_type.to_type_signature}.#{ast_node.name}")
raise"Batching execution for #{path} not implemented (execution_next_mode: #{@execution_next_mode.inspect}); provide `resolve_static:`, `resolve_batch:`, `hash_key:`, `method:`, or use a compatibility plug-in"
0 commit comments