Skip to content

fix: handle errors from identities in polymorphic resources properly #497

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
merged 1 commit into from
Mar 4, 2025

Conversation

vonagam
Copy link
Contributor

@vonagam vonagam commented Mar 3, 2025

Was getting Ash.Error.Unknown from identity constraints in polymorphic resources on violations because table context information was discarded at that place in code and Ecto.Changeset.unique_constraint was getting called with wrong constraint names.

@zachdaniel zachdaniel merged commit de37242 into ash-project:main Mar 4, 2025
54 checks passed
@zachdaniel
Copy link
Contributor

🚀 Thank you for your contribution! 🚀

@vonagam vonagam deleted the fix-polymorphic-identities branch March 4, 2025 10:24
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