frankdugan3
AEAsh Elixir
•Created by frankdugan3 on 6/1/2023 in #support
Calculation with arguments used in another calculation for sorting
I have a calculation that uses a postgres function to return a json object:
It produces a number of fields like
total_hours
etc that I'd like to sort on.
I know I need to extract the field with another calculation and sort on that, but I'm getting a little hung up on how to handle calling a calculation with args inside another calculation with args. It's also a fairly expensive operation, so if possible I'd like to somehow tell it to use the already-loaded calculation and not require the arguments at all.
Any pointers? :thinkies:28 replies
AEAsh Elixir
•Created by frankdugan3 on 5/22/2023 in #support
Can override `sign_in_route`, but not `reset_route` for AshAuthenticationPhoenix

4 replies
AEAsh Elixir
•Created by frankdugan3 on 5/13/2023 in #support
Many to Many Error
Given these relationships:
All of them are in the same API and Registry.
I'm getting an error that I don't quite understand (join_relationship_name???):
I'm probably missing something obvious, but I can't spot it.
32 replies
AEAsh Elixir
•Created by frankdugan3 on 4/21/2023 in #support
Multi-Location + Multi-Tenant Read Replica

4 replies
AEAsh Elixir
•Created by frankdugan3 on 3/30/2023 in #support
Better way to do this query?
I have a simple search action for an autocomplete, and I want to have it skip the filter if the search term is
""
in order to just return the top sorted options. I have a pretty simple solution, but was wondering if there's a cleaner/more idiomatic way of doing it:
If not, no problem, this works fine. 🙂18 replies
AEAsh Elixir
•Created by frankdugan3 on 3/23/2023 in #support
ashauthentication: possible bugs?
I have a couple errors coming up with AshAuthentication, not sure if they're bugs or me doing something wrong.
1) If I disable registration:
I get this error:
2) When I try to open a password reset link, I get the following error:
67 replies
AEAsh Elixir
•Created by frankdugan3 on 2/3/2023 in #showcase
WIP (pre-alpha) Ash UI Extension & Component Lib

86 replies