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

Add index fields type guards #145

Merged
merged 2 commits into from
Feb 18, 2025
Merged

Add index fields type guards #145

merged 2 commits into from
Feb 18, 2025

Conversation

NuroDev
Copy link
Member

@NuroDev NuroDev commented Feb 18, 2025

As part of the ongoing effort to improve our types across all packages, this is a small improvement to model index types that makes it such that an index MUST include at least one field.

@NuroDev NuroDev added the enhancement New feature or request label Feb 18, 2025
@NuroDev NuroDev requested review from leo and colodenn February 18, 2025 13:47
@NuroDev NuroDev self-assigned this Feb 18, 2025
@NuroDev NuroDev changed the title Add type guard for at least one field in an index Add index fields type guards Feb 18, 2025
@NuroDev NuroDev enabled auto-merge (squash) February 18, 2025 13:47
Copy link

Released an experimental package:

bun add @ronin/compiler@ben-ron-1099-experimental-381

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

Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@NuroDev NuroDev merged commit f3f662c into main Feb 18, 2025
4 checks passed
@NuroDev NuroDev deleted the ben/ron-1099 branch February 18, 2025 13:49
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