Skip to content

Remove unused attribute from NodeProcessorFactory#438

Merged
gmcgibbon merged 1 commit into
Shopify:mainfrom
ryym:refactor-rm-unused-attr
Jul 16, 2025
Merged

Remove unused attribute from NodeProcessorFactory#438
gmcgibbon merged 1 commit into
Shopify:mainfrom
ryym:refactor-rm-unused-attr

Conversation

@ryym
Copy link
Copy Markdown
Contributor

@ryym ryym commented Jun 19, 2025

What are you trying to accomplish?

The context_provider attribute of NodeProcessorFactory seems to be unused so I want to delete it.

What approach did you choose and why?

I just deleted it. Both typecheck and test passed.

That attribute was initially added by #63. At that time, ReferenceExtractor requires context_provider . But in #169, context_provider was removed from the argument of ReferenceExtractor.new .

What should reviewers focus on?

If context_provider is used in some way or will be used in the future, please close this PR.

Type of Change

  • Bugfix
  • New feature
  • Non-breaking change (a change that doesn't alter functionality - i.e., code refactor, configs, etc.)

Checklist

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • It is safe to rollback this change.

Previously `context_provider` was passed to `ReferenceExtractor` but
it was removed at 35773e2.
@ryym ryym requested a review from a team as a code owner June 19, 2025 00:50
@ryym
Copy link
Copy Markdown
Contributor Author

ryym commented Jun 19, 2025

I have signed the CLA!

@ryym
Copy link
Copy Markdown
Contributor Author

ryym commented Jun 19, 2025

By the way, the CLA page seems broken. https://cla.shopify.com/individual-cla
Clicking the submit button does not update any UI. I could confirm the submission only by opening the browser's network tab and checking that the request resulted in 200 response.

@gmcgibbon
Copy link
Copy Markdown
Member

👋 Hi @ryym,

I just double checked, and the CLA site seems to be working now. However, it may have been broken when you signed. Sorry about that!

Copy link
Copy Markdown
Member

@gmcgibbon gmcgibbon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@gmcgibbon gmcgibbon merged commit 5a0cbbd into Shopify:main Jul 16, 2025
9 of 10 checks passed
@ryym ryym deleted the refactor-rm-unused-attr branch January 27, 2026 02:41
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