Skip to content

Expose RouteMatchers for macros#131

Open
BuyMyBeard wants to merge 1 commit into
adonisjs:9.xfrom
BuyMyBeard:9.x
Open

Expose RouteMatchers for macros#131
BuyMyBeard wants to merge 1 commit into
adonisjs:9.xfrom
BuyMyBeard:9.x

Conversation

@BuyMyBeard

Copy link
Copy Markdown

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

RouteMatchers extends Macroable, but it is not currently exported, preventing applications and packages from extending it with custom macros.

This change exports RouteMatchers, allowing reusable matchers to be registered, particularly by AdonisJS packages.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

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.

1 participant