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

Use CallerArgumentExpression attribute to capture parameter name #179

Open
vs-savelich opened this issue Dec 27, 2022 · 2 comments · May be fixed by #180
Open

Use CallerArgumentExpression attribute to capture parameter name #179

vs-savelich opened this issue Dec 27, 2022 · 2 comments · May be fixed by #180

Comments

@vs-savelich
Copy link

I would like to propose this feature to reduce boilerplate code.

@ndrwrbgs
Copy link
Contributor

ndrwrbgs commented Jan 2, 2023

This would be great! So glad it was introduced.

Any chance you’d make a PR?

In the meantime here were two approaches I used to satisfy the same before the attribute existed:

@vs-savelich
Copy link
Author

@ndrwrbgs sure, I'll try to land a PR soon.

@vs-savelich vs-savelich linked a pull request Jan 11, 2023 that will close this issue
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 a pull request may close this issue.

2 participants