ajv-validator / ajv-validator/ajv

Validate object containing object for uniqueness

未關閉
#2,267 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
TypeScript
星號
14.8k
分支
1k
PR 合併指標
30 天內沒有已合併 PR

描述

Hi,

I have the example like below,
```
"obj2":
{
{
"prop1": "baz", "prop2": 999
},
{
"prop1": "qux", "prop2": 555
}
}
```

i.e object containing objects, now in this i need '**_prop1_**' field to have unique values.

**_Note:_**: I know this is possible when it is array of object, but i dont think there is any solution for the same case when object containing objects.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。