Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Allow parsing aliases under Ruby 3 / Psych 4+#1

Open
chris-nelson-mn wants to merge 2 commits into
masterfrom
cnelson/psych-4-compatibility
Open

Allow parsing aliases under Ruby 3 / Psych 4+#1
chris-nelson-mn wants to merge 2 commits into
masterfrom
cnelson/psych-4-compatibility

Conversation

@chris-nelson-mn
Copy link
Copy Markdown

Psych 4+ (and by extension, Ruby's YAML module) uses safe_load by default. This method is more restrictive in what it will parse from a YAML file. Notably, it does not allow for aliases by default. We use aliases fairly frequently in our application settings files, so we want to enable that option when loading.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants