GraphQL 면접 질문과 답변
관련 차이점
Ques 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.
도움이 되었나요?
Add Comment
View Comments
Ques 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.
도움이 되었나요?
Add Comment
View Comments
Most helpful rated by users: