Skip to content

feat: add timestamp & version attribute decorators - #15767

Merged
ephys merged 3 commits into
mainfrom
ephys/timestamp-version-decorators
Mar 12, 2023
Merged

ephys merged 3 commits into
mainfrom
ephys/timestamp-version-decorators

Conversation

@ephys

@ephys ephys commented Mar 12, 2023

Copy link
Copy Markdown
Member

Pull Request Checklist

  • Have you added new tests to prevent regressions?
  • If a documentation update is necessary, have you opened a PR to the documentation repository?
  • Did you update the typescript typings accordingly (if applicable)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Does the name of your PR follow our conventions?

Description Of Change

This PR adds the 3 timestamp attribute decorators, @CreatedAt, @UpdatedAt, @DeletedAt, as well as the @Version decorator

They're used to control which attribute will be used at the timestamp and version attributes

@ephys ephys self-assigned this Mar 12, 2023
@ephys ephys mentioned this pull request Mar 12, 2023
13 of 15 tasks

@WikiRik WikiRik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Three typos but apart from that it's good

@ephys
ephys requested a review from WikiRik March 12, 2023 12:11
@ephys
ephys merged commit 9795fcf into main Mar 12, 2023
@ephys
ephys deleted the ephys/timestamp-version-decorators branch March 12, 2023 13:40
@ephys ephys changed the title feat: add timestamp & version attributes feat: add timestamp & version attribute decorators Mar 12, 2023
@ephys ephys mentioned this pull request Jun 17, 2023
5 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants