{
title: 'Hello World',
toValidate: [
{
propertyA: 'string', // Always the same keys
propertyB: 'string' // Always a string
},
{
propertyA: 'string',
propertyB: 'string'
}
]
}
2
A
답변
0
이 또한 궁금합니다. 'typeof'연산자가 존재하지 않기 때문에 필드 데이터 유형을 검사 할 방법이없는 것처럼 보입니다. – JussiR
제 잘못입니다. 유형을 확인하기 위해 'is'연산자가 있습니다. https://firebase.google.com/docs/firestore/reference/security/#resource – JussiR