Complete the code to fetch only the user's name in a GraphQL query.
query { user { [1] } }The field name fetches only the user's name, avoiding over-fetching extra data.
Complete the code to fetch a user's posts with only the post titles.
query { user { posts { [1] } } }Fetching only the title of posts avoids over-fetching unnecessary post details.
Fix the error in the query to avoid under-fetching user email.
query { user { name [1] } }Adding the email field fetches the user's email along with name, avoiding under-fetching.
Fill both blanks to fetch user's name and email without over-fetching.
query { user { [1] [2] } }Fetching name and email gets only needed user info, avoiding over-fetching posts or comments.
Fill all three blanks to fetch post title, author name, and post date without extra data.
query { post { [1] author { [2] } [3] } }Fetching title, author name, and date gets essential post info without over-fetching full content.