0xPlaygrounds / 0xPlaygrounds/kg-node
feat(api): Add `Image` type for built-in cover property
- 主要言語
- Rust
- スター
- 10
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## 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
}
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- graphql, rust
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 65/100