Skip to content

Commit cc1d962

Browse files
committed
chore: add m:n to ignored references
1 parent 9dbe390 commit cc1d962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export class Resource extends BaseResource {
195195
private prepareProperties(): { [propertyPath: string]: Property } {
196196
const { hydrateProps = [] } = this.metadata ?? {};
197197
return hydrateProps.reduce((memo, prop, index) => {
198-
if (!['scalar', 'm:1', '1:1'].includes(prop.reference)) return memo;
198+
if (!['scalar', 'm:1', '1:1', 'm:n'].includes(prop.reference)) return memo;
199199

200200
const property = new Property(prop, index);
201201
memo[property.path()] = property;

0 commit comments

Comments
 (0)