7. Exercise 2: Explore with introspection
1m

Exercise 2: Explore with introspection ( 10 min)

🎯 Goal: Build new tools () using .

Part 1: Explore the schema

Imagine you are new hire at Airlock trying to understand the schema and explore the capabilities of the . What questions would you ask?

Questions to try:

  • "What are available on the Listing type?"
  • "What queries can I run to get user information like their name and profile picture?"
  • "How are reviews structured? What data do they contain?"
  • "How are listings connected to bookings?"
  • "Are there any deprecated I should avoid using?"

This is an open-ended exercise, so feel free to explore the schema as much as you want!

Task!

Part 2: Write GraphQL operations

Imagine you are a client developer trying to build new features for the Airlock web client.

Features to try implementing:

  • Provide the ability for hosts and guests to leave reviews for a booking.
  • Show more information about a specific listing than what you had built from the previous exercise.
  • Get the details of a specific host.

Use Claude and the tools to help you build the that can power these features.

Task!
Previous