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

Allow aliases when loading Rails yaml config #1041

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gblair
Copy link

@gblair gblair commented Mar 7, 2024

This change is needed for Ruby 3+ since Ruby YAML changed to expect by default that aliases won't be present in the incoming yaml.

This would I think be an afterthought to #1034 and also would supersede #1023. I don't think we need to use unsafe_load since we don't need unsafe loading (deserializing weird classes), we just need aliases to work.

This change is needed since Ruby YAML changed to assume by default that aliases
are not expected in yaml.
@gblair
Copy link
Author

gblair commented Mar 7, 2024

Forgot to mention: when merged, this closes #1022

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.

None yet

1 participant