-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make render messages dynamic and use
hoisted_class_prefix
instead o…
…f `"schema"` (#1155) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add `hoisted_class_prefix` to `RenderOptions` for customizable hoisted class prefixes in rendered messages. > > - **Behavior**: > - `RenderOptions` in `types.rs` now supports `hoisted_class_prefix` to customize prefix for hoisted classes. > - Default prefix for hoisted classes changed from "schema" to user-defined or "interface". > - Updated rendering logic in `OutputFormatContent` to use `hoisted_class_prefix`. > - **Documentation**: > - Added `hoisted_class_prefix` parameter to `output-format.mdx` with examples. > - **Tests**: > - Added tests in `types.rs` to verify `hoisted_class_prefix` functionality. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 6c7c38c. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information
1 parent
cf2298e
commit 873751b
Showing
1 changed file
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters