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

load default compilers before user defined compilers #1831

Merged

Conversation

stathis-alexander
Copy link
Contributor

Motivation

Currently, the tapioca default compilers load after the user defined compilers. This makes it impossible to extend or monkey patch a default compiler without monkey patching the load order in an initializer. See here for a comment concerning this behavior.

This PR switches the load order of default compilers to go before the user defined compilers. This allows users to extend the default compilers or monkey patch custom behavior with compilers of their own.

@stathis-alexander stathis-alexander requested a review from a team as a code owner March 20, 2024 02:35
@andyw8 andyw8 requested review from paracycle and removed request for andyw8 March 20, 2024 13:30
@stathis-alexander
Copy link
Contributor Author

Would it be possible to have someone review this PR? I believe the tests are failing for unrelated reasons.

@KaanOzkan
Copy link
Contributor

@stathis-alexander There is a CI failure

@stathis-alexander
Copy link
Contributor Author

@KaanOzkan Hello, I believe that was an unrelated issue to do with protobuf. I merged master where I believe the issue to be addressed, but I cannot seem to figure out how to kick off the build again.

@KaanOzkan KaanOzkan added the enhancement New feature or request label Apr 3, 2024
@KaanOzkan KaanOzkan merged commit 1b8648a into Shopify:main Apr 4, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants