strapi-community / strapi-plugin-transformer

A plugin for Strapi Headless CMS that provides the ability to transform the API request or response.
https://market.strapi.io/plugins/strapi-plugin-transformer
MIT License
140 stars 22 forks source link

feat: add plugin transform support #82

Closed ComfortablyCoding closed 1 year ago

ComfortablyCoding commented 1 year ago

This PR adds support for adding the transform middleware to plugins. It also enables custom routes to be transformed.

A new setting property has been added to control which plugins should be allowed

module.exports = ({ env }) => ({
  // ..
 'transformer': {
    enabled: true,
    config: {
     plugins:{
       ids :{
         'slugify':true
       }
     }
    }
  },
  // ..
});

Resolves

80

77

Namstel commented 1 year ago

Hey @ComfortablyCoding,

Any news on this one? It seems to be working well for us.

ComfortablyCoding commented 1 year ago

Hello @Namstel , it is now available in the latest release