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

Correctly parse remote models when applying migrations #72

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Conversation

colodenn
Copy link
Member

When executing ronin apply, the CLI provides the existing models to the compiler. This pull request addresses a bug where models were incorrectly passed with fields as arrays instead of objects.

This was landed in ronin-co/cli#57.

@colodenn colodenn requested a review from leo February 21, 2025 10:09
@colodenn colodenn self-assigned this Feb 21, 2025
@colodenn colodenn marked this pull request as ready for review February 21, 2025 10:09
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Copy link

Released an experimental package:

bun add ronin@corny-ron-1099-experimental-101

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

@leo leo changed the title Convert model.fields to objects when applying migrations Correctly parse remote models when applying migrations Feb 21, 2025
@leo leo enabled auto-merge (squash) February 21, 2025 10:10
@leo leo merged commit 2e93d25 into main Feb 21, 2025
5 checks passed
@leo leo deleted the corny/ron-1099 branch February 21, 2025 10:10
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.

3 participants