Closed Montaser-BE closed 1 year ago
The denylist was reworked in #64 due to #62.
It should now be contentTypeFilter as outlined in the docs.
module.exports = ({ env }) => ({
// ..
'transformer': {
enabled: true,
config: {
responseTransforms: {
removeAttributesKey: true,
removeDataKey: true,
},
contentTypeFilter: {
mode: 'deny',
uids: {
'api::service.service': true
}
}
}
},
// ..
});
I added strapi-plugin-transfomer to my strapi project and it is working, But I need to exclude some content types apis from being transformed. Currently I added the denylist and all apis are transformed including ones in the denylist. Strapi Version: 4.4.5 Plugin Version: 3.0.0 plugins.ts