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

Do not re-generate model attributes if slug changes #144

Merged
merged 2 commits into from
Feb 13, 2025
Merged

Do not re-generate model attributes if slug changes #144

merged 2 commits into from
Feb 13, 2025

Conversation

leo
Copy link
Member

@leo leo commented Feb 13, 2025

This change ensures that updating the slug of a model does not cause its name, plural name, or other attributes to be re-generated automatically.

Only the plural slug and table name of a model will be re-generated in that case.

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

Released an experimental package:

bun add @ronin/compiler@leo-ron-1099-experimental-380

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

Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

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

@leo leo marked this pull request as ready for review February 13, 2025 17:59
@leo leo enabled auto-merge (squash) February 13, 2025 17:59
@leo leo merged commit e3dd9ee into main Feb 13, 2025
4 checks passed
@leo leo deleted the leo/ron-1099 branch February 13, 2025 18:00
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.

2 participants