Absinthe.Federation.Notation.extends

You're seeing just the macro extends, go back to Absinthe.Federation.Notation module for more information.

Adds the @extends directive to the type to indicate that the type as owned by another service.

Example

object :user do
  extends()
  key_fields("id")
  field :id, non_null(:id)
end

SDL Output

type User @key(fields: "id") @extends {
  id: ID!
}