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 ability to extend Header attribute #680

Merged

Conversation

cosmastech
Copy link
Contributor

Our application has an extra header that needs to be sent with most (but not all) requests. It is not ideal to have to write #[Header('Special-Header', 'this-needs-to-be-created-dynamically-at-runtime')]

This PR makes it possible to extend the Header attribute.

@shalvah shalvah merged commit 3062a11 into knuckleswtf:master Jun 7, 2023
@shalvah
Copy link
Contributor

shalvah commented Jun 7, 2023

Nice, good to see some cool use cases for attributes.

@cosmastech cosmastech deleted the feature/check-for-isinstanceof branch June 7, 2023 11:36
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