← API reference
CANONICAL TYPE REFERENCE

ResourceInterface

A resource interface requirement

idString!

Resource interface ID

typeString!

Resource type (e.g., database/sql)

Human-readable description

optionalBoolean

Whether this resource is optional

View exact SDL
"""A resource interface requirement"""
type ResourceInterface {
  """Resource interface ID"""
  id: String!
  """Resource type (e.g., database/sql)"""
  type: String!
  """Human-readable description"""
  description: String
  """Whether this resource is optional"""
  optional: Boolean
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.