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

feat: drop plain string args for InputFile #706

Closed
Tracked by #675
KnorpelSenf opened this issue Dec 15, 2024 · 0 comments
Closed
Tracked by #675

feat: drop plain string args for InputFile #706

KnorpelSenf opened this issue Dec 15, 2024 · 0 comments

Comments

@KnorpelSenf
Copy link
Member

This seems to add more confusion than it helps. People pass all sorts of strings to InputFile.

Instead, require new InputFile({ path }).

@KnorpelSenf KnorpelSenf mentioned this issue Dec 15, 2024
48 tasks
KnorpelSenf added a commit that referenced this issue Dec 16, 2024
BREAKING: drop `new InputFile(path)` and prefer `new InputFile({ path })`

Closes #706
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

1 participant