-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unclear error message when assigning wrong type to polymorphic relationship #4633
Labels
🏷️ feat
This PR introduces a new feature
Comments
@balinterdi I'd be all for this :) |
@runspired and @balinterdi does this still need a contributor? If so, I'd like to pick it up. |
@pete-the-pete it does! |
@pete-the-pete Yes, feel free to snag it. Thank you! |
Resolved by #5518 |
runspired
added
🏷️ feat
This PR introduces a new feature
and removed
Improvement
labels
Sep 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following relationships:
When a logo.pictured relationship is set, I get the following error:
I think this error might be made clearer as at the point it is thrown we know we're checking a polymorphic relationship so we might as well say:
What do you think?
(Showed this to @pangratz at EmberFest a few days ago.)
The text was updated successfully, but these errors were encountered: