Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add plugin transform support #82

Merged
merged 2 commits into from
Apr 10, 2023

Conversation

ComfortablyCoding
Copy link
Contributor

@ComfortablyCoding ComfortablyCoding commented Mar 29, 2023

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
Copy link

Namstel commented Apr 6, 2023

Hey @ComfortablyCoding,

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

@ComfortablyCoding ComfortablyCoding merged commit 3be880d into master Apr 10, 2023
@ComfortablyCoding
Copy link
Contributor Author

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

@ComfortablyCoding ComfortablyCoding deleted the feat-add-plugin-support branch September 12, 2023 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] custom collections are not transformed [FR] add transformation support for plugin APIs
2 participants