Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade GraphQL gem to 2.4.5 and deal with eager loading. #43

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

myronmarston
Copy link
Collaborator

GraphQL gem 2.4.5 includes some changes related to code loading:

rmosolgo/graphql-ruby#5178

I've made a few changes to deal with that:

  • I've introduced ::GraphQL.eager_load! where we do eager loading for production.
  • I've stopped requiring files nested under graphql--instead, we should load graphql and rely on the autoloading.

GraphQL gem 2.4.5 includes some changes related to code loading:

rmosolgo/graphql-ruby#5178

I've made a few changes to deal with that:

* I've introduced `::GraphQL.eager_load!` where we do eager loading for production.
* I've stopped requiring files nested under `graphql`--instead, we should load `graphql` and rely on the autoloading.
@myronmarston myronmarston force-pushed the myron/upgrade-graphql branch from d7bcb2d to 8f0b162 Compare December 3, 2024 01:19
@myronmarston myronmarston merged commit 0cfd479 into main Dec 3, 2024
10 checks passed
@myronmarston myronmarston deleted the myron/upgrade-graphql branch December 3, 2024 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants