contentlayerdev / contentlayerdev/contentlayer
Support for nested field types in computed fields
Đang mở
meta: never-stale
topic: schema
- Ngôn ngữ chính
- TypeScript
- Star
- 3.5k
- Fork
- 192
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Right now if I have a computed field and I'd like to return a non-primitive value I have to use `json` as the type. Ideally I'd be able to use a nested field definition to provide stronger typing for computed fields.
Related to #91 in that this would bring computed fields in line with regular fields.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.