0xPlaygrounds / 0xPlaygrounds/kg-node

feat(api): Add `Image` type for built-in cover property

Đang mở Phù hợp với người mới
#33 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
10
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Description
Add a dedicated `Image` GraphQL type with additional dimension information for the built-in `cover` property.

## Implementation
```graphql
type Image {
url: String!
width: Int
height: Int
fileType: String
}

type Entity {
# (Change) cover from `String` to `Image`
cover: Image

# ...other attribute
}
```

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

Hướng nghiên cứu

Find the GraphQL schema definitions in the codebase, likely in a file like `schema.graphql` or within Rust modules using a GraphQL library. Locate the `Entity` type and change its `cover` field from `String` to the new `Image` type as defined. Ensure the `Image` type is added to the schema with the specified fields. Test the change by running any existing GraphQL tests or queries to verify the new type works.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
graphql, rust
Lĩnh vực
api
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.