Skip to content

Conversation

@hdnax
Copy link
Contributor

@hdnax hdnax commented Jan 16, 2026

Summary

  • Support sample table data in DBML
Table Users {
  id string [pk]
  name string
  age int
  
  Records { // implicit columns
    "id1", "name", 18
    "id2", "name", "19"
  }
	
  Records (id, name) { // explicit columns
  }
}

Records Users(id, name) { // always explicit
}
  • Handle INSERT statements in importers and exporters.
  • Add diagnostics provider for both errors and warnings.
  • Hardcode Report<T, E> to Report<T>, E is now always CompileError, also CompileWarning is supported.

Issue

(issue link here)

Lasting Changes (Technical)

(please list down: code changes/things that have wide-effect; new libraries/functions added that can be used by others; examples below)

  • (Added class EmailValidator to validate email address' validity)
  • (Added Tenant#is_trial? check)

Checklist

Please check directly on the box once each of these are done

  • Documentation (if necessary)
  • Lint Checks Passed
  • Unit Tests Passed
  • Coverage Tests Passed
  • Integration Tests Passed
  • Code Review

@hdnax hdnax force-pushed the feat/sample-table-data branch 6 times, most recently from e75ad9b to 7a79669 Compare January 16, 2026 07:52
@hdnax hdnax force-pushed the parser/refactor-binder branch from 447eb87 to 509240a Compare January 16, 2026 09:03
@hdnax hdnax force-pushed the feat/sample-table-data branch 7 times, most recently from 4fb94da to 20f2cb1 Compare January 19, 2026 03:07
@hdnax hdnax requested a review from xuantho573 January 19, 2026 06:26
@hdnax hdnax force-pushed the feat/sample-table-data branch 4 times, most recently from 79cfdbe to 54b935a Compare January 20, 2026 13:41
@hdnax hdnax force-pushed the feat/sample-table-data branch from 0366534 to 128ba26 Compare January 22, 2026 02:49
@hdnax hdnax force-pushed the feat/sample-table-data branch from e9d7824 to 8f90edf Compare January 22, 2026 09:37
@hdnax hdnax force-pushed the feat/sample-table-data branch from b245e94 to 9fa707d Compare January 22, 2026 13:12
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.

2 participants