Skip to content

Conversation

@kmaschi
Copy link
Member

@kmaschi kmaschi commented Apr 2, 2025

Description

Local development for edge is unable to handle hooks because they are resolved at runtime. Added a new type of configuration and signature allowing for static modules to be imported and then passed into plugin hooks.

Related Issue

CEXT-4399

Motivation and Context

Produces a better user experience for local development where users may debug hook files from their project.

How Has This Been Tested?

  • yarn link to aio-cli-plugin-api-mesh

Screenshots (if appropriate):

Example generated js config that would access this new branch:
image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@kmaschi kmaschi merged commit 84ca765 into develop Apr 2, 2025
5 checks passed
@kmaschi kmaschi deleted the fix/CEXT-4399-localdev branch April 2, 2025 19:57
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.

4 participants