Skip to content
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

4.x throw exception if relationship is not found #14334

Merged
merged 10 commits into from
Feb 2, 2025

Conversation

howdu
Copy link
Contributor

@howdu howdu commented Sep 24, 2024

Description

Throw a helpful exception message instead of:
Screenshot_2024-09-12_at_18 25 51

Visual changes

Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.

@zepfietje zepfietje added the enhancement New feature or request label Sep 26, 2024
@zepfietje zepfietje modified the milestones: v3, v4 Sep 26, 2024
Copy link
Member

@danharrin danharrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please apply this on other form components that have a relationship() method?

@howdu howdu requested a review from danharrin December 9, 2024 18:26
@danharrin danharrin merged commit dd8c5ea into filamentphp:4.x Feb 2, 2025
@danharrin
Copy link
Member

Thanks

@howdu howdu deleted the patch-7 branch February 3, 2025 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants