Complete the code to filter users by their age.
query { users(age: [1]) { id name } }The age argument expects a number without quotes to filter users by age.
Complete the code to filter products by category.
query { products(category: [1]) { id name price } }The category argument expects a string value, so it must be enclosed in quotes.
Fix the error in the query to filter posts by published status.
query { posts(published: [1]) { id title } }The published argument expects a boolean value without quotes and lowercase.
Fill both blanks to filter books by author and year.
query { books(author: [1], year: [2]) { title author year } }The author argument expects a string with quotes, and the year expects a number without quotes.
Fill all three blanks to filter events by location, date, and isActive status.
query { events(location: [1], date: [2], isActive: [3]) { id name location date isActive } }Location and date are strings and need quotes; isActive is a boolean and does not need quotes.
