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

Add helper attribute to ignore arguments #188

Open
ModProg opened this issue Mar 9, 2024 · 1 comment
Open

Add helper attribute to ignore arguments #188

ModProg opened this issue Mar 9, 2024 · 1 comment

Comments

@ModProg
Copy link

ModProg commented Mar 9, 2024

This is related to e.g. #67, but for the simple usecase of just wanting to ignore one or two arguments, something like

#[cached]
fn hello(a: usize, #[cached(skip)] b: String) 

would be nicer to use IMO.

@ewoolsey
Copy link

ewoolsey commented Jun 3, 2024

+1. Current method is pretty clunky, especially when you've got a lot of other parameters.

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

No branches or pull requests

2 participants