michaelst
michaelst
AEAsh Elixir
Created by michaelst on 8/3/2023 in #support
warning: Changeset has already been validated for action :create.
I like the default better though, thanks!
16 replies
AEAsh Elixir
Created by michaelst on 8/3/2023 in #support
warning: Changeset has already been validated for action :create.
didn't think it would apply in this case since it is a writable attribute
16 replies
AEAsh Elixir
Created by michaelst on 8/3/2023 in #support
warning: Changeset has already been validated for action :create.
oh from the docs force just allows you to change a nonwritable attribute
16 replies
AEAsh Elixir
Created by michaelst on 8/3/2023 in #support
warning: Changeset has already been validated for action :create.
ooooh
16 replies
AEAsh Elixir
Created by michaelst on 7/4/2023 in #support
Invalid association, not an ecto schema
Thanks!
22 replies
AEAsh Elixir
Created by michaelst on 7/4/2023 in #support
Invalid association, not an ecto schema
The error actually came back, I think it is the order like Zach was mentioning
22 replies
AEAsh Elixir
Created by Robert Graff on 7/5/2023 in #support
How to set belongs_to on in a form
Oh I had this same issue, I ended up using the id field and not inputs for, so try changing your action to product_id and use it as a field instead
3 replies
AEAsh Elixir
Created by michaelst on 7/5/2023 in #support
Policy authorizer not applying to read action
I passed in the actor
7 replies
AEAsh Elixir
Created by michaelst on 7/5/2023 in #support
Policy authorizer not applying to read action
ah, thanks!
7 replies
AEAsh Elixir
Created by michaelst on 7/5/2023 in #support
How to pass args to Api.read
loving this new support/question model, search just answered a different question for me
8 replies
AEAsh Elixir
Created by michaelst on 7/5/2023 in #support
How to pass args to Api.read
No worries, appreciate you pointing me in the right direction
8 replies
AEAsh Elixir
Created by michaelst on 7/5/2023 in #support
How to pass args to Api.read
needed a slight tweak on that, but got it working
BudgetAllocationTemplate
|> Ash.Query.for_read(:list, search: socket.assigns[:search])
|> Spendable.Api.read!()
BudgetAllocationTemplate
|> Ash.Query.for_read(:list, search: socket.assigns[:search])
|> Spendable.Api.read!()
8 replies
AEAsh Elixir
Created by michaelst on 7/5/2023 in #support
How to pass args to Api.read
Thanks!
8 replies
AEAsh Elixir
Created by michaelst on 7/4/2023 in #support
Invalid association, not an ecto schema
actually whatever changes I have made in my uuid migration got rid of it...
22 replies
AEAsh Elixir
Created by michaelst on 7/4/2023 in #support
Invalid association, not an ecto schema
in case you want to play with it this project is open source https://github.com/michaelst/spendable, seems to be happening consistently in the tests in CI
22 replies
AEAsh Elixir
Created by michaelst on 7/4/2023 in #support
Invalid association, not an ecto schema
yep still not happening locally, but even then the error doesn't make any sense, what would trigger that
22 replies
AEAsh Elixir
Created by michaelst on 7/4/2023 in #support
Invalid association, not an ecto schema
26.0.2, also same on both
22 replies
AEAsh Elixir
Created by michaelst on 7/4/2023 in #support
Invalid association, not an ecto schema
Both 1.15.2, I noticed it is also happening in docker builds
22 replies
AEAsh Elixir
Created by michaelst on 7/4/2023 in #support
Can't add form with auto forms
I definitely need to write a guide for this with a working configuration
108 replies
AEAsh Elixir
Created by michaelst on 7/4/2023 in #support
Can't add form with auto forms
I'm so confused, but somehow it started working, I've been playing with the mange_relationship types, budget_allcations needed to be direct_control and revert back to type: :update
108 replies