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
The dependency to trailblazer-operation is not necessary. Steps to remove it
trailblazer-operation
Result
Policy()
Activity::Deprecate.warn
Operation
Activity::Railway
<%= code_tabs %>
The text was updated successfully, but these errors were encountered:
@apotonick Regarding 1st point, we actually use success? in controller to raise Pundit::NotAuthorizedError or pass around additional data.
success?
Pundit::NotAuthorizedError
I added lightweight replacement for Result in Policy for now, but let me know your thoughts!
Policy
Sorry, something went wrong.
yogeshjain999
No branches or pull requests
The dependency to
trailblazer-operation
is not necessary. Steps to remove itResult
objects in allPolicy()
classes. I don't think anyone uses it. UseActivity::Deprecate.warn
for the actual warning https://trailblazer.to/2.1/docs/internals#internals-core-developer-deprecateOperation
toActivity::Railway
and autoconvert.<%= code_tabs %>
for docs to show both versions. https://trailblazer.to/2.1/docs/internals#internals-core-developer-convert-operation-testThe text was updated successfully, but these errors were encountered: