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

Confusion over non-nullable FileUpload in Input::getFile #295

Open
g105b opened this issue Jan 25, 2024 · 0 comments
Open

Confusion over non-nullable FileUpload in Input::getFile #295

g105b opened this issue Jan 25, 2024 · 0 comments
Assignees
Labels

Comments

@g105b
Copy link
Member

g105b commented Jan 25, 2024

All other type-safe getters are nullable. My question is why the getFile function in particular returns a non-nullable FileUpload type - if there is no file at this input, shouldn't it be consistent and return null?

@g105b g105b added the question label Jan 25, 2024
@g105b g105b self-assigned this Jan 25, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Overview Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant