Quay lại Roadmap/Graphql Roadmap/
Đang tải...
Hướng dẫn thử thách
1 / 66

Aliases

### Giai đoạn: Nền Tảng & Khái Niệm Cốt Lõi **Aliases** Aliases in GraphQL rename fields in query responses, useful when requesting the same field multiple times with different arguments or when field names aren't suitable for client usage. They distinguish fields in responses and improve query readability and usability. ### Khái niệm cốt lõi: 1. **They distinguish fields in responses and improve query readability and usability** ### Tài liệu tham khảo chính thống: - [What are GraphQL Aliases?](https://graphql.org/learn/queries/#aliases) (official)
Nhiệm vụ của bạn
Viết giải pháp của bạn cho bài học **Aliases** vào trình soạn thảo bên cạnh. Bấm **Chạy Thử Nghiệm** (hoặc nhấn `Ctrl+Enter`) để thực thi và ghi nhận hoàn thành kỹ năng trên Roadmap. ### Kỹ năng cần đạt: - `Aliases` - `Core` - `Engineering`
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.sh
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.