0xPlaygrounds / 0xPlaygrounds/kg-node
feat(api): Add `Image` type for built-in cover property
- Lenguaje dominante
- Rust
- Estrellas
- 10
- Forks
- 5
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## 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
}
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- graphql, rust
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 65/100