Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of multiple uploads #48

Open
AlexKovalevych opened this issue Oct 19, 2016 · 4 comments
Open

Example of multiple uploads #48

AlexKovalevych opened this issue Oct 19, 2016 · 4 comments

Comments

@AlexKovalevych
Copy link

Is multiple uploads supported? Something like:

  schema "users" do
    field :files, {:array, MyApp.File.Type}
  end

If yes, how can i create validation in this case?

@williamkhshea
Copy link

I want to know how an array of file is uploaded too.

@williamkhshea
Copy link

I just found the answer.

stavro/arc#52

@bAmpT
Copy link

bAmpT commented Jan 28, 2017

So is it actually possible to use :array or not?

@andreapavoni
Copy link

It works like any other relation between schemas. If you can do it with schemas, the same is valid with uploads, it's up to you how to handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants