richaard0
richaard0
AEAsh Elixir
Created by richaard0 on 7/3/2023 in #support
Expected at most one result but got ...
Of course 🤦🏼‍♂️ thanks!
5 replies
AEAsh Elixir
Created by richaard0 on 5/14/2023 in #support
ResourceValidations error
I'll take a better look, I might have missed one or made a typo. Thanks again Zach, I'll keep you posted!
8 replies
AEAsh Elixir
Created by richaard0 on 5/14/2023 in #support
ResourceValidations error
I tried it but the same thing happens 😕 I tried out a prior version (2.7.1) and it works fine. I think it maybe comes from this commit in particular? Not exactly sure what causes it though https://github.com/ash-project/ash/commit/38ec164e3e048b94139b5a8228e20e2b542d5301
8 replies
AEAsh Elixir
Created by richaard0 on 4/23/2023 in #support
Load relationships on inserted ressource
I did not see that one, but it works perfectly! Thanks! 😄
6 replies
AEAsh Elixir
Created by richaard0 on 4/23/2023 in #support
Load relationships on inserted ressource
Yes, I should have mentioned that I did try that but it didn't work unfortunately. I assume that this is because there isn't an actual read query being done
preparations do
prepare build(load: [:departure_airport, :arrival_airport])
end
preparations do
prepare build(load: [:departure_airport, :arrival_airport])
end
6 replies
AEAsh Elixir
Created by richaard0 on 3/30/2023 in #support
AshPhoenix potential bug with relationships
Works perfectly 😁
14 replies
AEAsh Elixir
Created by richaard0 on 3/30/2023 in #support
AshPhoenix potential bug with relationships
Nah I pulled AshPhoenix, that explains it 😄
14 replies
AEAsh Elixir
Created by richaard0 on 3/30/2023 in #support
AshPhoenix potential bug with relationships
Thank you Zach! However I pulled main and I don't see anything different 😦 Is it on AshPhoenix's main branch or Ash itself?
14 replies
AEAsh Elixir
Created by richaard0 on 3/30/2023 in #support
AshPhoenix potential bug with relationships
Nice thanks for the quick reply! 🙂
14 replies
AEAsh Elixir
Created by richaard0 on 3/21/2023 in #support
Multitenancy and no_attributes? relationship option
I totally forgot about that other option, that explains it, thanks! (quite the response time there 😄 )
7 replies
AEAsh Elixir
Created by richaard0 on 3/21/2023 in #support
Multitenancy and no_attributes? relationship option
Oh right, I guess the example would be if I was using a :context strategy to implement multitenancy?
7 replies
AEAsh Elixir
Created by richaard0 on 3/13/2023 in #support
Multitenancy and different Liveviews
I don't mean to bump this post, but this is semi-related: Am I wrong by saying that set_tenant and get_tenant only work on conns and not on sockets? Meaning I won't be able to access the tenant and actors while manipulating the socket? (I'm assuming the same is true for get_actor and set_actor)
117 replies
AEAsh Elixir
Created by richaard0 on 3/13/2023 in #support
Multitenancy and different Liveviews
Thanks again for your help, I've learned quite a bit digging around and talking to you 🙂
117 replies
AEAsh Elixir
Created by richaard0 on 3/13/2023 in #support
Multitenancy and different Liveviews
I saw the global? attribute for multitenancy but I didn't make the link at all in my mind that I would require that for my use case
117 replies
AEAsh Elixir
Created by richaard0 on 3/13/2023 in #support
Multitenancy and different Liveviews
Alright, sorry for all that trouble when it was a code 18 on my part 😄
117 replies
AEAsh Elixir
Created by richaard0 on 3/13/2023 in #support
Multitenancy and different Liveviews
And this one resource would be the only one that needs to be global, since I'll have my tenant when making subsequent queries
117 replies
AEAsh Elixir
Created by richaard0 on 3/13/2023 in #support
Multitenancy and different Liveviews
Yeah that makes sense
117 replies
AEAsh Elixir
Created by richaard0 on 3/13/2023 in #support
Multitenancy and different Liveviews
yes
117 replies
AEAsh Elixir
Created by richaard0 on 3/13/2023 in #support
Multitenancy and different Liveviews
I guess I could have them enter their org's identifier while logging in
117 replies