Ash and AshPhoenix error key needs to be "foreign_resource_id", not "foreign_resource"..
There is a resource "A", and it includes
belongs_to :foreign_resource, ForeignResource
belongs_to :foreign_resource, ForeignResource
, and
foreign_resource_id
foreign_resource_id
column. In phoenix liveview form, after validation I expect error with key "foreign_resource_id" needs to be exist, but only "foreign_resource" error exists. Can I get error with key "foreign_resource_id"?
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.