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

Provide layer name as hook name #536

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Provide layer name as hook name #536

merged 1 commit into from
Jul 24, 2024

Conversation

seanmor5
Copy link
Contributor

This allows us to override the hook if necessary. I was searching for a solution to provide Layer metadata in the hook function signature, but I don't think it's possible without some serious work arounds

Copy link
Contributor

@josevalim josevalim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need docs and/or tests? :)

@seanmor5 seanmor5 merged commit 216fafe into main Jul 24, 2024
4 of 5 checks passed
@seanmor5 seanmor5 deleted the sm-hook-meta branch July 24, 2024 14:16
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.

2 participants