Skip to content

Commit aa1c279

Browse files
authored
Merge pull request #10 from cloudflare/dev
Maintenance version
2 parents 8555847 + 36aed62 commit aa1c279

File tree

7 files changed

+1071
-34
lines changed

7 files changed

+1071
-34
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.2.3] - 2025-03-19
6+
7+
### Changed
8+
9+
- Documentation typos
10+
11+
### Added
12+
13+
- Benchmarking tests for $merge
14+
515
## [0.1.2] - 2025-03-07
616

717
### Added

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ Resolves to:
280280
{
281281
"type": "object",
282282
"properties": {
283+
"p": {
284+
"type": "string" }
285+
},
283286
"q": {
284287
"type": "number"
285288
}
@@ -294,6 +297,8 @@ To use `$merge` set the `useMerge` flag to true when creating the instance.
294297
new Cabidela(schema, { useMerge: true });
295298
```
296299

300+
You can combine `$merge` with `$id` and `$ref` keywords, which get resolved first, for even more flexibility.
301+
297302
## Custom errors
298303

299304
If the new instance options has the `errorMessages` flag set to true, you can use the property `errorMessage` in the schema to define custom error messages.

0 commit comments

Comments
 (0)