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

Wart: Http4s Server - Remove parameters where they are not needed #405

Open
amarrella opened this issue Apr 26, 2018 · 1 comment
Open

Comments

@amarrella
Copy link
Collaborator

Since #382 , routes are being generated with unused parameters and this causes several warnings.

I think we should at least ignore them (or ignore the warning with @_ if they are in the path.

(I would like a lot to use apibuilder with https://github.com/sirocchj/sbt-api-builder and -Xfatal-warnings enabled, but this and #398 don't allow me to do that :( )

@amarrella amarrella changed the title Qart: Http4s Server - Remove parameters where they are not needed Wart: Http4s Server - Remove parameters where they are not needed Apr 26, 2018
@amarrella
Copy link
Collaborator Author

Forgot to add a detail: I'm using the tpolecat flags and the flag that generates this warning is -Ywarn-unused:patvars

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