We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Forcing users to wrap the guard in a string is annoying for ergonomics.
#[graphql(guard = "ScopeGuard::new(\"profile:read:email\")")]
Would like to be able to
#[graphql(guard = ScopeGuard::new("profile:read:email"))]
The text was updated successfully, but these errors were encountered:
According to: TedDriggs/darling#239
Darling supports this feature as of 0.20
Sorry, something went wrong.
Attributes guard, process_with, complexity support expression o…
guard
process_with
complexity
658842d
…r string as value #1295
@sunli829 was this fixed in above commit?
No branches or pull requests
Description of the feature
Forcing users to wrap the guard in a string is annoying for ergonomics.
#[graphql(guard = "ScopeGuard::new(\"profile:read:email\")")]
Would like to be able to
#[graphql(guard = ScopeGuard::new("profile:read:email"))]
The text was updated successfully, but these errors were encountered: