Skip to content

adding support for unit etsting enum rendering #1871

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

Draft
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

hellovai
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Apr 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
baml ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2025 5:27pm

Copy link
Contributor Author

@hellovai hellovai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THIS IS BLOCKED on merge due to failing equality tests:

cargo test --package baml-runtime --test test_runtime  --features "internal" -- internal_tests::test_enums --show-outputg

tldlr comparing:

{{ MyEnum.Foo == "alias value" }}

doesn't work due to no custom comparisons in minijinja 1.0. minijninja 2.0 supports this.

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.

1 participant