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

feat(grit): implement GritQL log() function #4003

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

arendjr
Copy link
Contributor

@arendjr arendjr commented Sep 19, 2024

Summary

Implements the GritQL log() function, and exposes the logs in both the quick test and the spec tests. The log() function is a little bit special, since it's implemented as a pattern in the Grit pattern matcher, rather than an ordinary function, so we have to special-case it in our node compilers.

Test Plan

Test case added.

@arendjr arendjr requested a review from a team September 19, 2024 20:04
@github-actions github-actions bot added the A-Project Area: project label Sep 19, 2024
@arendjr arendjr merged commit 76a4f1a into biomejs:main Sep 19, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Project Area: project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant