0xPlaygrounds / 0xPlaygrounds/kg-node

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

Ouverte Adaptée aux débutants
#33 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
10
Forks
5
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## 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
}
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
graphql, rust
Domaine
api
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
65/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.