I am writing a simple read action on a resource which I would like to return a single attribute (field) only. I have reviewed the DSL for the read action and cannot spot any way to limit the fields returned in the select query.
What am I missing?
Thanks
Martin
That’s very helpful. I’ve a better understanding (now as a result) of how to think about the prepare dsl
Thanks again
Martin
1 Like
This can also be accomplished with generic actions. There is a guide on the main hexdocs page describing how they work. They can be used to have actions that return arbitrary values (like a string)
1 Like