GraphQL вопросы и ответы для интервью
Связанные сравнения
Вопрос 31. How does GraphQL handle over-fetching and under-fetching issues?
GraphQL addresses over-fetching by allowing clients to specify the exact data they need. It mitigates under-fetching by enabling clients to request additional fields as needed, avoiding multiple round trips for data fetching.
Вопрос 32. What is the difference between a schema and a type in GraphQL?
A schema in GraphQL is a collection of types that define the structure of the API. Types, on the other hand, represent the shape of the data, including scalar types, object types, and custom types defined in the schema.
Самое полезное по оценкам пользователей: