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

Feat/migrating to not auto incrementing ids #334

Merged
merged 10 commits into from
Feb 25, 2024

Conversation

Yavorss
Copy link
Contributor

@Yavorss Yavorss commented Feb 12, 2024

No description provided.

@Yavorss Yavorss changed the base branch from main to dev February 12, 2024 11:08
Copy link
Collaborator

@IvayloGrahlyov IvayloGrahlyov left a 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>[] = [];
Copy link
Collaborator

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

@Yavorss Yavorss merged commit fc3c6eb into dev Feb 25, 2024
12 checks passed
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