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

Refactoring #225

Merged
merged 11 commits into from
Mar 11, 2025
Merged

Refactoring #225

merged 11 commits into from
Mar 11, 2025

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Mar 11, 2025

This PR performs a bunch of refactorings after the recent whirlwind of PRs. Most importantly, it refactors the parsers to make their logic simpler and leverage pattern matching more.

Kobzol added 9 commits March 11, 2025 11:21
It was unnecessarily complicated. This should make it simpler to understand and modify.
We don't currently handle duplicates consistently everywhere, and I don't think that it is needed. Let's remove these tests and the corresponding functionality to keep the parsers simpler.
The rollup mode is nullable in the DB, so let's respect that, and only fill in the default value later when actually reading the rollup mode.
@Kobzol Kobzol enabled auto-merge March 11, 2025 12:28
@Kobzol Kobzol added this pull request to the merge queue Mar 11, 2025
Merged via the queue into rust-lang:main with commit 0fa05ec Mar 11, 2025
2 checks passed
@Kobzol Kobzol deleted the cleanup branch March 11, 2025 12:45
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.

1 participant