Skip to content
Discussion options

You must be logged in to vote

I haven't tested it, but this compiles and I believe should work:

@Table struct Reminder {
  @Column(as: Tagged<Self, UUID.BytesRepresentation>.self)
  let id: Tagged<Self, UUID>
  // …
}

Wanna give it a shot?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Pomanks
Comment options

@mbrandonw
Comment options

@Pomanks
Comment options

@mbrandonw
Comment options

Answer selected by Pomanks
@Pomanks
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants