Ash FrameworkAF
Ash Framework8mo ago
10 replies
Vahagn

AshGraphQL mutation with metadata

I want to make a File resource, which will have a path to S3, a filename etc. And I want to define a :create action :sign_upload_url that will return a metadata :upload_url, however I can't make it return the metadata from mutation
Solution
create :create do
  metadata :foo, :string

  ...
end
Was this page helpful?