Cue allows for embeddings.

  • largely copies the fields and other members in
  • A way to reuse a definition or closed value
  • Not an object in an object, more like flattening

Struct embeds

Other uses:

  • Scalar and list embeds
  • see validator pattern
We'll never share your email with anyone else.
2023 Hofstadter, Inc