@memberjunction/codegen-lib 0.9.48 → 0.9.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -194,7 +194,7 @@ function generateServerRelationship(r) {
194
194
  else { // many to many
195
195
  return `
196
196
  @Field(() => [${relatedClassName + _graphQLTypeSuffix}])
197
- @ManyToMany(() => ${relatedClassName + _graphQLTypeSuffix}, (${relatedClassName.toLowerCase()}) => ${relatedClassName.toLowerCase()}.${r.Entity})
197
+ @ManyToMany(() => ${relatedClassName + _graphQLTypeSuffix}, (${relatedClassName.toLowerCase()}) => ${relatedClassName.toLowerCase()}.${r.Entity}Array)
198
198
  @JoinTable({
199
199
  name: '${r.JoinView}',
200
200
  joinColumn: { name: '${r.JoinEntityJoinField}', referencedColumnName: '${r.RelatedEntityJoinField}' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/codegen-lib",
3
- "version": "0.9.48",
3
+ "version": "0.9.49",
4
4
  "description": "Library used by the CodeGen executable to generate code for the MemberJunction platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",