Code of Conduct
AI Policy
Versions
Ash: 3.15
Operating system
ubuntu
Current Behavior
I'm not sure it's a bug or by design but I noticed that the options for "don't return an error if no record is found" is different between Ash.get vs a read action with get? true:
# Using Ash.get():
Ash.get(SomeResource, error?: false) # <-- here its `error?`
# Using a read action in a resource:
defmodule MyResource do
actions do
read :some_action do
get? true
end
end
end
MyResource.some_action(not_found_error?: false) # <-- here its `not_found_error?`
They seem to be doing the same thing, so shouldn't they use the same option?
Reproduction
No response
Expected Behavior
No response
Code of Conduct
AI Policy
Versions
Ash: 3.15
Operating system
ubuntu
Current Behavior
I'm not sure it's a bug or by design but I noticed that the options for "don't return an error if no record is found" is different between
Ash.getvs a read action withget? true:They seem to be doing the same thing, so shouldn't they use the same option?
Reproduction
No response
Expected Behavior
No response