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

Allow for passing trigger effects as query symbols #146

Merged
merged 3 commits into from
Feb 19, 2025
Merged

Conversation

colodenn
Copy link
Member

The current implementation of the syntax package wraps queries within trigger.effects using a query symbol. This causes issues with the compiler, as it incorrectly interprets the query symbol as a query type, such as add or create, due to object destructuring. This PR addresses this issue to ensure proper handling of queries by the compiler.

@colodenn colodenn requested a review from leo February 19, 2025 10:07
@colodenn colodenn self-assigned this Feb 19, 2025
Copy link

github-actions bot commented Feb 19, 2025

Released an experimental package:

bun add @ronin/compiler@corny-ron-1099-experimental-384

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

Copy link

codecov bot commented Feb 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

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

@colodenn colodenn marked this pull request as ready for review February 19, 2025 10:16
@leo leo changed the title Unwrap trigger effect queries Allow for passing trigger effects as query symbols Feb 19, 2025
@leo leo enabled auto-merge (squash) February 19, 2025 12:06
@leo leo merged commit ab31f1d into main Feb 19, 2025
4 checks passed
@leo leo deleted the corny/ron-1099 branch February 19, 2025 12:06
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