-
Notifications
You must be signed in to change notification settings - Fork 1
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/migrating to not auto incrementing ids #334
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good. My only request is for the entities type changes which drag other changes after them and IMO are not needed as the previous types represent more correctly the type of each entity.
|
||
export class TodosRepository { | ||
private lastId = 0; | ||
private records: Todo[] = []; | ||
private records: Partial<Todo>[] = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this change comes from the previous one. In the SQL table we shouldn't have partial records
No description provided.