Issue with Schema Property Conversion and Omission in Effect Typescript

I'm curious if this is a bug with converting properties on a class schema, or if I'm mis-using the API exposed.
class User extends Schema.Class<User>("User")({
  id: Schema.NonEmptyTrimmedString,
  name: Schema.NonEmptyTrimmedString,
  createdAt: Schema.propertySignature(
        Schema.DateFromSelf,
    ).pipe(Schema.fromKey("created_at")),
}){}

const CreateUser = User.pipe(
  // Is this a bug as we are missing both
  // created_at and createdAt?
  Schema.omit('createdAt')
)
Was this page helpful?