Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Squash the redundant abstract classes into their "base" counterparts #714

Merged
merged 6 commits into from
Sep 28, 2023

Conversation

nolar
Copy link
Contributor

@nolar nolar commented Sep 25, 2023

This is essentially a continuation of squashing the hierarchies in #710, but for a different part — the duplicated classes are now removed and squahed into one.

  • AbstractDatabase -> Database
  • AbstractDialect -> BaseDialect
  • AbstractTable -> ITable

This should simplify the codebase significantly.

For reference, there is a hand-made inheritance graph before the changes in both PRs:

image

After the changes, there are only the lower blue classes left. (The mixins are to be removed later; maybe; TBD.)

image

@nolar nolar requested a review from dlawin September 25, 2023 15:58
@nolar nolar force-pushed the simplify-ast-compilation branch from cc66fd4 to 795bb0e Compare September 28, 2023 14:38
@nolar nolar force-pushed the simplify-collapse-abcs branch from 0f522dd to 7aec378 Compare September 28, 2023 14:38
Base automatically changed from simplify-ast-compilation to master September 28, 2023 15:37
@nolar nolar merged commit 8472467 into master Sep 28, 2023
@nolar nolar deleted the simplify-collapse-abcs branch September 28, 2023 15:38
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