Skip to content
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

types(models): make all properties to Model constructor optional #13990

Merged
merged 4 commits into from
Oct 24, 2023

Conversation

vkarpov15
Copy link
Collaborator

Fix #13897
Re: #11563

Summary

Starting with 4a5d712, the Model constructor requires all paths, which #13897 pointed out is problematic for timestamps. This PR fixes that.

Examples

@hasezoey hasezoey added the typescript Types or Types-test related issue / Pull Request label Oct 18, 2023
@vkarpov15 vkarpov15 changed the base branch from master to 8.0 October 24, 2023 14:52
@vkarpov15 vkarpov15 merged commit 502ec4b into 8.0 Oct 24, 2023
@vkarpov15 vkarpov15 added this to the 8.0 milestone Oct 24, 2023
@hasezoey hasezoey deleted the vkarpov15/gh-13897 branch October 25, 2023 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript Types or Types-test related issue / Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to properly define createdAt and updatedAt members when using timestamps?
2 participants