-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello! Thank you so much for the development and maintenance of this package. It works great and the care you put into it is deeply appreciated.
I wanted to ask if there is currently support for querying of Polymorphic relationships with @searchBy through some syntax we are not finding apparent.
When we first adopted this package we couldn't work out how to get a MorphTo relationship to work for example, so we created a custom directive for this to work but it seems recent updates may have caused issues.
Here is an example of an entity with a MorphTo relationship: https://github.com/canyongbs/advisingapp/blob/main/app-modules/alert/graphql/alert.graphql
And our custom directive: https://github.com/canyongbs/advisingapp/blob/main/app/GraphQL/Directives/MorphToRelationDirective.php
Any guidance you can provide on how to best make the queries work would be very appreciated.
Thank you so much!