The project is in a healthy, maintained state
A development script for migrating to GraphQL-Ruby's new runtime engine
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

Runtime

>= 0
 Project Readme

GraphqlMigrateExecution

Test Gem Version

A command-line development tool to update your Ruby source code to support GraphQL::Execution::Next, then clean up unused legacy configs after you don't need them anymore.

Install

bundle add graphql_migrate_execution

Use

Usage: graphql_migrate_execution glob [options]

A development tool for adopting GraphQL-Ruby's new runtime module, GraphQL::Execution::Next

Inspect the files matched by `glob` and ...

- (default) print an analysis result for what can be updated
- `--migrate`: update files with new configuration
- `--cleanup`: remove legacy configuration and instance methods

Options:

        --migrate                    Update the files with future-compatibile configuration
        --cleanup                    Remove resolver instance methods for GraphQL-Ruby's old runtime
        --dry-run                    Don't actually modify files
        --implicit MODE              Handle implicit field resolution using MODE
        --only PATTERN               Only analyze or update fields whose path (`Type.field`) matches /PATTERN/

Develop

bundle exec rake test # TEST=test/...