We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description: We need to create a persistence for the new CommitmentOption entity.
Inside src/infrastructure/mongo/persistence create a new file commitmentoption.persistence.ts.
src/infrastructure/mongo/persistence
commitmentoption.persistence.ts
Export a class decorated with @Schema({ _id: false, versionKey: false }) named CommitmentOptionPersistence.
@Schema({ _id: false, versionKey: false })
CommitmentOptionPersistence
See crowdaction.persistence.ts for a similar setup.
crowdaction.persistence.ts
Must export the persistence class, the CommitmentOptionSchema, and the CommitmentOptionDocument.
The text was updated successfully, but these errors were encountered:
feat: add commitmentoption persistence
ca36243
Closes: #10
Xazin
No branches or pull requests
Description:
We need to create a persistence for the new CommitmentOption entity.
Inside
src/infrastructure/mongo/persistence
create a new filecommitmentoption.persistence.ts
.Export a class decorated with
@Schema({ _id: false, versionKey: false })
namedCommitmentOptionPersistence
.See
crowdaction.persistence.ts
for a similar setup.Must export the persistence class, the CommitmentOptionSchema, and the CommitmentOptionDocument.
The text was updated successfully, but these errors were encountered: