1m
Using @requires
and @external
Use the schema below to answer the following questions.
Shipping subgraph
# Shiping subgraphtype Product @key(fields: "id") {id: ID!size: Int @externalweight: Int @externalshippingEstimate: String @requires(fields: "size weight")}
Which of the following statements are correct? (Select all that apply)
True or False: You can define more than one field in the
@requires
directive.Share your questions and comments about this lesson
Your feedback helps us improve! If you're stuck or confused, let us know and we'll help you out. All comments are public and must follow the Apollo Code of Conduct. Note that comments that have been resolved or addressed may be removed.
You'll need a GitHub account to post below. Don't have one? Post in our Odyssey forum instead.