Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Feature/showcase 153#50

Merged
zoemaas merged 14 commits intodevelopfrom
feature/SHOWCASE-153
Mar 25, 2025
Merged

Feature/showcase 153#50
zoemaas merged 14 commits intodevelopfrom
feature/SHOWCASE-153

Conversation

@zoemaas
Copy link
Contributor

@zoemaas zoemaas commented Mar 13, 2025

No description provided.

zoemaas added 4 commits March 13, 2025 12:30
…pi into feature/SHOWCASE-153

# Conflicts:
#	apps/credential-showcase-api-server/src/database/schema/stepAction.ts
#	pnpm-lock.yaml
const actionsResult = await tx
.insert(stepActions)
.values(
// @ts-ignore
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need to ignore?

Copy link
Contributor Author

@zoemaas zoemaas Mar 14, 2025

Choose a reason for hiding this comment

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

The values() function does not accept undefined and the compiler complains. However you just made me realize that there was an issue in my code. Refactored

const proofRequestsResult = await tx
.insert(ariesProofRequests)
.values(
// @ts-ignore
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need to ignore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The values() function does not accept undefined and the compiler complains. However you just made me realize that there was an issue in my code. Refactored

"title" text NOT NULL,
"text" text NOT NULL,
"step" uuid NOT NULL,
"step" uuid,
Copy link
Contributor

Choose a reason for hiding this comment

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

we need new migrations, do not change older ones

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created a new migration file and rolled back the changes in the existing one

zoemaas added 6 commits March 14, 2025 11:53
…pi into feature/SHOWCASE-153

# Conflicts:
#	apps/credential-showcase-api-server/src/database/migrations/0003_credential-showcase-api.sql
#	apps/credential-showcase-api-server/src/utils/mappers.ts
@github-actions
Copy link

Deployment Resource Location
API Server https://pr-50-api.dev.nborbit.ca/
Traction Adapter https://pr-50-traction.dev.nborbit.ca/

PR Deployment URLs ready for review.

actions: actionsResult.map((action) => ({
...action,
step: stepResult.id,
proofRequest: proofRequestsResult.find((proofRequest) => proofRequest.stepAction === action.id),
Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't get this line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The code comes from development. The second return statement is mine

zoemaas added 2 commits March 24, 2025 13:46
…pi into feature/SHOWCASE-153

# Conflicts:
#	apps/credential-showcase-api-server/src/database/migrations/0003_credential-showcase-api.sql
zoemaas added 2 commits March 25, 2025 12:44
…pi into feature/SHOWCASE-153

# Conflicts:
#	apps/credential-showcase-api-server/src/database/migrations/0003_credential-showcase-api.sql
@zoemaas zoemaas merged commit 555de21 into develop Mar 25, 2025
6 checks passed
@zoemaas zoemaas deleted the feature/SHOWCASE-153 branch March 25, 2025 12:41
@zoemaas zoemaas restored the feature/SHOWCASE-153 branch March 26, 2025 09:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants