Skip to content

Add raise_on_missing_params option to interpreter #11

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

Conversation

dwei-stripe
Copy link
Collaborator

This option allows the interpreter to keep track of parameters that it tried to access but which turned out to be nil, and to raise them in an error when the newly added raise_on_missing_params option is set to true.

@dwei-stripe
Copy link
Collaborator Author

@ptarjan @vanwagonet could you please take a look and lmk what you think? Happy to elaborate more if needed. Separately, let me know what tests you would like to see for the change!

@dwei-stripe
Copy link
Collaborator Author

@ptarjan @vanwagonet friendly ping in case you missed the previous one 🙂

@dwei-stripe
Copy link
Collaborator Author

@vanwagonet thanks for the approval! could you merge this change as well 🙏

@vanwagonet vanwagonet merged commit b616243 into format-message:master Oct 24, 2022
@vanwagonet
Copy link
Contributor

I have merged this, but honestly I haven't used ruby in years, and will need to lookup how cut and publish a release. This package is in sore need of a maintainer that is in ruby & gems frequently.

@dwei-stripe
Copy link
Collaborator Author

Ah gotcha, I was about to ask how do we do releases 😂 Thanks for adding me as a collaborator, will look into this.

@dwei-stripe dwei-stripe deleted the dwei-support-raise-on-missing-params-during-interpretation branch October 26, 2022 00:15
@froydnj froydnj mentioned this pull request Jan 16, 2024
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