Skip to content

[Fix] Remove default case for class: :forbidden #367

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

Merged

Conversation

pcapel
Copy link
Contributor

@pcapel pcapel commented Jul 24, 2025

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

I can definitely add a regression test if we feel that's necessary, but I was counting on the existing suite passing to indicate that the removal was stable.

The implementations for Ash.Error.Forbidden.Policy and Ash.Error.Forbidden.ForbiddenField were already present, so this is purely code removal.

@zachdaniel zachdaniel merged commit 50def33 into ash-project:main Jul 25, 2025
@zachdaniel
Copy link
Contributor

🚀 Thank you for your contribution! 🚀

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