You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since prepareProperties is now overridable, I'd say it's just as useful to export the Property class in index.ts. It would allow me to use this:
exportclassPrismaPropertyextendsProperty{/** * In [adminjs-prisma package](https://github.com/SoftwareBrothers/adminjs-prisma/blob/main/src/Property.ts) the isArray method is not implemented. * * This results in `isArray` always returning false. You can trace it back to [this Property base class](https://github.com/SoftwareBrothers/adminjs/blob/262fa77163747f6dd340fbeffcbf46386801edf1/src/backend/adapters/property/base-property.ts#L167). */isArray(): boolean{returnthis.column.isList;}}
on a PrismaResource adapter which overloads the prepareProperties method.
Activity
BobReid commentedon Oct 29, 2024
+1 on this