Replies: 2 comments
-
And looks like I now have to make changes to the fieldset too to override this in the same way. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Applying this to another page where we had a lot of repeaters, groups and fieldsets I've gone down from... 201 queries to load the page and 2522 to save to... 36 to load and just 128 to save, many being simple count queries from the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've added this to the group and there are still too many queries but they are down from 600 to 100. And with how complex our forms are that doesn't seem that bad since it's a save query and a lot of that is validation unique checks.
Is there any reason why the original of this, https://github.com/filamentphp/filament/blob/3.x/packages/forms/src/Components/Concerns/EntanglesStateWithSingularRelationship.php#L206, has a hardcoded query?
This method is also overridden in the repeater and relatively recently loads from eager loads now.
Beta Was this translation helpful? Give feedback.
All reactions