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

from UploadedFile to Form File #113

Open
postite opened this issue Jun 6, 2020 · 1 comment
Open

from UploadedFile to Form File #113

postite opened this issue Jun 6, 2020 · 1 comment

Comments

@postite
Copy link

postite commented Jun 6, 2020

hello .
i had a case where I wanted to do:

	var file:FormFile= FormFile.ofBlob("capture_blabla.png","image/png",p) ;

it won't compile because of:

abstract FormFile(UploadedFile) {

why isn't it like :

@:forward
abstract FormFile(UploadedFile) from UploadedFile { ...

thx.

@kevinresol
Copy link
Member

I think it should be just fine. PR welcome.

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

2 participants