Hi,
I’m having an issue in a content import plugin (GitHub - EdisonPeM/strapi-plugin-import-export-content: Csv and Json import / export content plugin to Strapi) where the csv import plugin is converting Strings that are purely numeric to actual Numbers and then the Strapi import function (using strapi.entityService.create
) is failing because Strapi is expecting a String for a field instead of a Number. Is it possible to relax this requirement somehow with an option to allow the Strapi import to coerce the Number back into a String where required? I’ve looked around strapi/lib/services/entityService.js:133
(strapi/entity-service.js at 077741b03725cc981bc984399d553df8a12d89d0 · strapi/strapi · GitHub) but am still unsure so thought I’d ask.
Thanks,
RenderMaster
System Information
- Strapi Version: 3.6.8
- Operating System: Win10
- Database: Postgres 13
- Node Version: v14.17.3
- NPM Version: 8.0.0