Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(cardService): wrap title + linkIds updates in single atomic transaction #477
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
Uh oh!
There was an error while loading. Please reload this page.
fix(cardService): wrap title + linkIds updates in single atomic transaction #477
Changes from all commits
f0afa4d5bbbf9e95f6b9fd1956319e0c28a23462b04911eef1e814b3c0dd174File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check failure on line 139 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > POST /api/cards — create & link ownership validation > creates the card when all linkIds are owned by the user
Check failure on line 191 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > POST /api/cards — create & link ownership validation > retries and succeeds when the create hits a serialization conflict (P2034)
Check failure on line 269 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > PUT /api/cards/:id/update — card metadata > updates title/description/visibility/qrEnabled for an owned card
Check failure on line 299 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > PUT /api/cards/:id/update — card metadata > returns 400 when the body is empty (schema requires at least one field)
Check failure on line 315 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > PUT /api/cards/:id/update — card metadata > returns 500 when card.update throws
Check failure on line 342 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > PUT /api/cards/:id/platform-link > returns 200 when a new owned platform link is added
Check failure on line 358 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > PUT /api/cards/:id/platform-link > returns 404 when the card is not owned by the user
Check failure on line 374 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > PUT /api/cards/:id/platform-link > returns 403 when the platform link does not belong to the user
Check failure on line 390 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > PUT /api/cards/:id/platform-link > returns 409 when the platform link is already on the card
Check failure on line 402 in apps/backend/src/__tests__/cards.test.ts
src/__tests__/cards.test.ts > PUT /api/cards/:id/platform-link > returns 400 when platformLinkId is not a valid UUID
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.