Skip to content

Remove Compiled* schema objects#73

Open
LucDeCaf wants to merge 4 commits into
mainfrom
remove-compiled-tables
Open

Remove Compiled* schema objects#73
LucDeCaf wants to merge 4 commits into
mainfrom
remove-compiled-tables

Conversation

@LucDeCaf

@LucDeCaf LucDeCaf commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

The CompiledSchema and CompiledTable classes made the schema API unnecessarily complicated, made testing more difficult, and will make adding raw tables in the future more annoying. This PR removes the Compiled* classes in favour of working with the Table and Schema classes directly. Validation logic has been moved into the classes themselves and a JsonConverter has been created for both classes.

AI Usage

Claude Code was used to generate the JsonConverter implementations for both classes. It was also used to generate a test for an existing issue with column name parsing which I spotted while reviewing its implementation.

InsertOnly = false,
ViewName = "test_assets_viewname",
TrackMetadata = true,
TrackMetadata = false,

@LucDeCaf LucDeCaf Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part of an existing bug in the test suite; since CompiledTable.Options was private it wasn't being checked properly for incorrect values.

@LucDeCaf LucDeCaf requested a review from Chriztiaan June 12, 2026 14: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