Skip to content

Commit 51cecfc

Browse files
committed
test: add todo with zod4 for export records
1 parent fba0a99 commit 51cecfc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apps/api/src/instrument-records/instrument-records.service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ export class InstrumentRecordsService {
130130
return this.instrumentRecordModel.exists(where);
131131
}
132132

133+
//TODO
134+
// Chech if instrument schema is zod4 version, if so use the toJSONSchema method to convert to json
135+
// and expand the data from there
133136
async exportRecords({ groupId }: { groupId?: string } = {}, { ability }: EntityOperationOptions = {}) {
134137
const data: InstrumentRecordsExport = [];
135138
const records = await this.instrumentRecordModel.findMany({

0 commit comments

Comments
 (0)