Skip to content

feat: add proper enabled config for plugins#1881

Merged
Noroth merged 2 commits intomainfrom
ludwig/add-plugin-enabled-config
May 22, 2025
Merged

feat: add proper enabled config for plugins#1881
Noroth merged 2 commits intomainfrom
ludwig/add-plugin-enabled-config

Conversation

@Noroth
Copy link
Copy Markdown
Contributor

@Noroth Noroth commented May 22, 2025

Motivation and Context

We recently removed the enabled flag for the plugins as it didn't make sense the way it was implemented. Instead of enabling only the configuration options this PR adds an implementation to handle enabling of plugins in general.

Enabled now will make sure that no plugins are loaded when enabled is set to false.

Checklist

  • I have discussed my proposed changes in an issue and have received approval to proceed.
  • I have followed the coding standards of the project.
  • Tests or benchmarks have been added or updated.
  • Documentation has been updated on https://github.com/wundergraph/cosmo-docs.
  • I have read the Contributors Guide.

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 22, 2025

Router image scan passed

✅ No security vulnerabilities found in image:

ghcr.io/wundergraph/cosmo/router:sha-3e1c8ddb3af7b5f9f630fb2e65711dd53542e2b9

@Noroth Noroth merged commit 3114d38 into main May 22, 2025
23 checks passed
@Noroth Noroth deleted the ludwig/add-plugin-enabled-config branch May 22, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants