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 empty keys in maps #922

Merged
merged 1 commit into from
May 9, 2024
Merged

Allow empty keys in maps #922

merged 1 commit into from
May 9, 2024

Conversation

LiraNuna
Copy link
Sponsor Contributor

@LiraNuna LiraNuna commented May 9, 2024

According to discussion over on #852, there really isn't a reason why keys can't be empty.
This PR allows this by simply removing the check and error.

Resolves #852

@alexjg alexjg merged commit fc9b4ab into automerge:main May 9, 2024
11 checks passed
@LiraNuna LiraNuna deleted the issue-852 branch May 9, 2024 17:09
@LiraNuna
Copy link
Sponsor Contributor Author

@alexjg it seems that structuredClone was added in node18 but I guess for compatibility reasons Automerge targets 16. We could remove the test or figure out a way to run tests with 18

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.

Why can't keys be empty?
2 participants