We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Extracted from #3130
For parameters of type MultipartFile, the expected client-side TypeScript type is File.
MultipartFile
File
Let us not generate a form model for MultipartFile parameters. At this point, the form binding is out-of-scope.
Some example endpoints:
@BrowserCallable class AppEndpoint { public void saveFile(MultipartFile file) { } public String saveFileAsUrl(MultipartFile file) { file.transferTo(...); return "https://..."; } public void saveUserWithAvatar(UserData user, MultipartFile avatar) { } public void saveAvatarWithThumbnail(MultipartFile avatar, MultipartFile thumbnail) { } public ValueSignal<FileProcessingProgress> saveAndConvertHugeFile(MultipartFile hugeFile) { } }
The text was updated successfully, but these errors were encountered:
Lodin
No branches or pull requests
Extracted from #3130
For parameters of type
MultipartFile
, the expected client-side TypeScript type isFile
.Let us not generate a form model for
MultipartFile
parameters. At this point, the form binding is out-of-scope.Some example endpoints:
The text was updated successfully, but these errors were encountered: