adrenalinkin / adrenalinkin/swagger-resolver-bundle
Normalizers should not throw an errors
Đang mở
BC
- Ngôn ngữ chính
- PHP
- Star
- 10
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Normalizers should not throw an errors - we already have Validators for this purpose. Better return value as is in that case when normalizer can't perform normalization.
Also we should not analyse is this property required or not.
According to this information contract will be pretty simple
```
public function supports(Schema $propertySchema, string $propertyName): bool;
public function getNormalizer(): Closure;
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.