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

Ensure correct behavior for model definition #55

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Ensure correct behavior for model definition #55

merged 1 commit into from
Feb 13, 2025

Conversation

leo
Copy link
Member

@leo leo commented Feb 13, 2025

This change ensures that the model() function always returns an object and never a JS proxy.

As a result, the migration commands in the CLI will work as expected again.

@leo leo added the enhancement New feature or request label Feb 13, 2025
Copy link

Released an experimental package:

bun add @ronin/syntax@leo-ron-1099-experimental-141

This package will be removed after the pull request has been merged.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/queries/index.ts 100.00% <100.00%> (ø)
src/schema/model.ts 100.00% <100.00%> (ø)

@leo leo marked this pull request as ready for review February 13, 2025 19:06
@leo leo enabled auto-merge (squash) February 13, 2025 19:06
@leo leo merged commit 90dd10d into main Feb 13, 2025
3 checks passed
@leo leo deleted the leo/ron-1099 branch February 13, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants