-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(InteractionResponse): createdTimestamp #8917
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
Co-authored-by: MrMythicalYT <91077061+MrMythicalYT@users.noreply.github.com>
As far as I know, |
This isn't a method but a getter that behaves like a property but u can return result dynamically |
I have no idea why though, as I mentioned, this is a getter because the other .createdTimestamp/createdAt I've seen have been getters, I don't think there's any need for it to be? since the ID is constant |
using property will store the |
That, but also that it doesn’t have to be calculated at all if it isn’t used. |
Please describe the changes this PR makes and why it should be merged:
InteractionResponses have IDs, we can just destructure it and get createdAt and createdTimestamp, (it's a getter because other such properties on other classes were getters)
Close #8916
Status and versioning classification: