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

Changing placeholder in file upload map #2459

Open
ThirVondukr opened this issue Mar 15, 2024 · 0 comments
Open

Changing placeholder in file upload map #2459

ThirVondukr opened this issue Mar 15, 2024 · 0 comments

Comments

@ThirVondukr
Copy link

ThirVondukr commented Mar 15, 2024

Currently with multi file upload file number is always added at the eng (e.g. file.0, file.), and I have an input for a mutation like this:

input FileInput {
  file: Upload!!
}

input MyInput {
  files: [FileInput!]!
}

Which would require me to have keys input.files.{Placeholder Here}.file, which doesn't seem currently possible or simply isn't documented.
It works if I construct that string myself, but then I obviously can't use multi file upload with altair client

Describe the solution you'd like
I think some sort of placeholder could be added, like {} or $ which would be replaced by the file number

Additional context
Example with manually mapping files:
image

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

No branches or pull requests

2 participants