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

[Badges]/[CommitmentOptions]: Create CommitmentOptions Persistence #10

Closed
Xazin opened this issue Jun 22, 2022 · 0 comments
Closed

[Badges]/[CommitmentOptions]: Create CommitmentOptions Persistence #10

Xazin opened this issue Jun 22, 2022 · 0 comments
Assignees
Labels
good first issue Good for newcomers
Projects

Comments

@Xazin
Copy link
Member

Xazin commented Jun 22, 2022

Description:
We need to create a persistence for the new CommitmentOption entity.

Inside src/infrastructure/mongo/persistence create a new file commitmentoption.persistence.ts.

Export a class decorated with @Schema({ _id: false, versionKey: false }) named CommitmentOptionPersistence.

See crowdaction.persistence.ts for a similar setup.

Must export the persistence class, the CommitmentOptionSchema, and the CommitmentOptionDocument.

@Xazin Xazin added the good first issue Good for newcomers label Jun 22, 2022
@Xazin Xazin added this to To do in Badges Jun 22, 2022
@Xazin Xazin self-assigned this Jun 23, 2022
@Xazin Xazin closed this as completed Jun 25, 2022
Badges automation moved this from To do to Done Jun 25, 2022
Xazin added a commit that referenced this issue Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Development

No branches or pull requests

1 participant