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

Sqlite typeorm #1774

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Sqlite typeorm #1774

wants to merge 16 commits into from

Conversation

lastmjs
Copy link
Member

@lastmjs lastmjs commented May 6, 2024

No description provided.

@bdemann bdemann changed the base branch from main to sqlite May 7, 2024 20:39
@bdemann bdemann changed the base branch from sqlite to main May 7, 2024 21:30
import { Post } from '../entities/posts/db';
import { User } from '../entities/users/db';

// TODO figure out migrations
Copy link
Member

Choose a reason for hiding this comment

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

Does this TODO need to be addressed as part of this PR?

Copy link
Member

Choose a reason for hiding this comment

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

I mean obviously not, but I thought we already had this

Copy link
Member

Choose a reason for hiding this comment

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

Abstracting this would be nice if it doesn't abuse JS too much

@@ -487,11 +487,11 @@ function postsTestsAfterBatch(origin: string): Test[] {
{
name: '/posts not empty',
test: async () => {
const response = await fetch(`${origin}/posts?limit=300`);
const response = await fetch(`${origin}/posts?limit=200`);
Copy link
Member

Choose a reason for hiding this comment

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

Why are these 200 now instead of 300? Can they be a const instead of a magic number?

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.

None yet

2 participants