Skip to content

feat: support dynamically resolved relationships#100

Merged
tobyzerner merged 1 commit intotobyzerner:mainfrom
SychO9:sm/dynamic-relationships
Mar 29, 2024
Merged

feat: support dynamically resolved relationships#100
tobyzerner merged 1 commit intotobyzerner:mainfrom
SychO9:sm/dynamic-relationships

Conversation

@SychO9
Copy link
Copy Markdown
Contributor

@SychO9 SychO9 commented Feb 20, 2024

Some relationships in Laravel apps are added through dynamic resolvers Model::resolveRelationUsing('relation', fn () => ...). To support those we can use the built-in isRelation check.

@tobyzerner tobyzerner merged commit 1e09fa5 into tobyzerner:main Mar 29, 2024
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