From 57415a14dcdd1da4eb884bdd37115a2fa0c5f198 Mon Sep 17 00:00:00 2001 From: Bryan Naegele Date: Sat, 22 Jun 2024 10:26:32 -0600 Subject: [PATCH] split_id filter is singular --- crates/weaver_forge/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/weaver_forge/README.md b/crates/weaver_forge/README.md index 33cfc7b1..1b7406e1 100644 --- a/crates/weaver_forge/README.md +++ b/crates/weaver_forge/README.md @@ -152,7 +152,7 @@ The following filters are available: - `snake_case_const`: Generates snake_case constants which follow semantic convention namespacing rules (underscores are ignored, but . is meaningful). - `screaming_snake_case_const`: Generates SCREAMING_SNAKE_CASE constants which follow semantic convention namespacing rules (underscores are ignored, but . is meaningful). - `acronym`: Replaces acronyms in the input string with the full name defined in the `acronyms` section of the `weaver.yaml` configuration file. -- `split_ids`: Splits a string by '.' creating a list of nested ids. +- `split_id`: Splits a string by '.' creating a list of nested ids. - `type_mapping`: Converts a semantic convention type to a target type (see weaver.yaml section `type_mapping`). - `comment_with_prefix(prefix)`: Outputs a multiline comment with the given prefix. - `flatten`: Converts a List of Lists into a single list with all elements. @@ -234,4 +234,4 @@ generation of assets. - `template_type`: Tests if a type is a template type (i.e.: template[]). - `enum_type`: Tests if a type is an enum type. -> Please open an issue if you have any suggestions for new tests. They are easy to implement. \ No newline at end of file +> Please open an issue if you have any suggestions for new tests. They are easy to implement.