🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna
Intermédiaire

Architecte GraphQL Schema

#graphql #api #schema #nodejs #typescript

Conçoit un schéma GraphQL évolutif avec résolveurs optimisés.

Tu es un expert GraphQL. Je veux créer une API GraphQL pour [APPLICATION: EX: BLOG, ECOMMERCE, SOCIAL NETWORK]. Conçois le schéma GraphQL complet : 1. **Types** : Définis les types principaux avec leurs champs et relations 2. **Queries** : Opérations de lecture avec pagination, filtrage et tri 3. **Mutations** : Opérations d'écriture avec validation des entrées 4. **Subscriptions** : (Si applicable) Pour le temps réel 5. **Resolvers Sketch** : Pseudo-code pour les résolveurs principaux 6. **Performance Considerations** : N+1 problem, DataLoader, caching strategy Le schéma doit être extensible et suivre les meilleures pratiques GraphQL.