mylanconnolly
Explore posts from serversAEAsh Elixir
•Created by mylanconnolly on 5/28/2025 in #support
Flaky Ash Generator
I think I solved it for myself. I didn't realize that Generator was supplying lists of empty maps for an argument
children
which allowed me to generate child entity types at the same time as the parent. Because the maps were empty, they were failing validation. once I started supplying a default value of an empty list, the flakiness seems to have gone away.4 replies
Encountering poor performance in production after a number of troubleshooting steps
Hey all, sorry for the lack of replies, I've been busy on other projects. All of my assets are properly caching, which did take some time (I haven't configured a web server in a while and it wasu first time working with Caddy).
I haven't tried octane yet because I'm not super experienced with PHP but I'll look into it and see what I can do.
8 replies
Encountering poor performance in production after a number of troubleshooting steps
interestingly, I was able to trim another 200ms off the response times by moving from a Google n2d-standard-2 to a t2d-standard-2. I started checking out the different instance types since it seems like the performance issues are only in production (locally I have a 13" M1 Macbook Pro, which is seemingly faster than the VMs). I think performance is starting to become acceptable but I'd still like to get a bit more of a boost if possible
8 replies
Error `Could not find Livewire component in DOM tree`. How do I fix this?
Actually, I was technically putting it into a Filament page and I was having this issue, but once I rewrote it to be a vanilla Livewire component it worked fine for me.
5 replies
Error `Could not find Livewire component in DOM tree`. How do I fix this?
Just curious, did you ever find a solution? I'm running into this issue when I use the form builder and trigger an action that refreshes the page. I'm not super familiar with livewire and pretty new to filament, too, so I am probably just missing something basic
5 replies
AEAsh Elixir
•Created by mylanconnolly on 8/15/2023 in #support
Ash JSON API is showing an error when following tutorial
Ah that would explain it lol. Thanks!
4 replies
AEAsh Elixir
•Created by mylanconnolly on 4/16/2023 in #support
Issue using datetime_add
Just had a chance to check it out and it generated SQL that Postgres likes:
Thanks so much for checking into it!
6 replies
AEAsh Elixir
•Created by mylanconnolly on 3/15/2023 in #support
Using manage_relationship with nested relationships
working like a charm now. thanks again!
22 replies
AEAsh Elixir
•Created by mylanconnolly on 3/15/2023 in #support
Using manage_relationship with nested relationships
lol woops. ok good catch. I should probably call it a night, it looks like 🙂
22 replies
AEAsh Elixir
•Created by mylanconnolly on 3/15/2023 in #support
Using manage_relationship with nested relationships
hmm, like my resource is messed up or the data is invalid?
22 replies
AEAsh Elixir
•Created by mylanconnolly on 3/15/2023 in #support
Using manage_relationship with nested relationships
hm, strange... I might be doing something wrong. I see some errors about a violated uniqueness constraint in those cases where the series already exists in the database
22 replies
AEAsh Elixir
•Created by mylanconnolly on 3/15/2023 in #support
Using manage_relationship with nested relationships
I was hoping it'd use the event series that it found in the database
22 replies
AEAsh Elixir
•Created by mylanconnolly on 3/15/2023 in #support
Using manage_relationship with nested relationships
I just encountered another hiccup. I updated the code slightly:
(note that I removed the
custom_indexes
block and replaced it with an identies
block).
I changed the changeset logic somewhat to include the identity:
It is possible for multiple exams to exist in the same series, so I was hoping it'd look up the event series in the database first, but it doesn't seem to be doing that. Is this something I can change or should I just create the series as a separate action at this point? Just trying to wrap my head around it. Thanks!22 replies
AEAsh Elixir
•Created by mylanconnolly on 3/15/2023 in #support
Using manage_relationship with nested relationships
That makes sense, I'll try to keep that in mind. It's a different way compared to what I'm used to but I can definitely see the usefulness of it
22 replies
AEAsh Elixir
•Created by mylanconnolly on 3/15/2023 in #support
Using manage_relationship with nested relationships
Thanks so much! I tried the first option and that solved my problem for the meantime. I'm going to probably refactor the code to use the custom actions, though, since that looks cleaner for what I'm ultimately trying to accomplish. thanks for answering so quickly and for the hard work on Ash!
22 replies