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

[feature] reflections check without dependencies #4

Open
kwladyka opened this issue Jul 2, 2020 · 3 comments
Open

[feature] reflections check without dependencies #4

kwladyka opened this issue Jul 2, 2020 · 3 comments

Comments

@kwladyka
Copy link

kwladyka commented Jul 2, 2020

I would like to run clojure -A:check configured by :main-opts with parameters to check only app code, but without dependencies in deps.edn.

So without

Reflection warning, bidi/bidi.cljc:20:31 - call to static method decode on java.net.URLDecoder can't be resolved (argument types: java.lang.String, unknown).

Rationale:

  1. it makes mess and always have to read carefully if there are app reflections somewhere between
  2. CI/CD when want to fail build if there are reflections in app (but not in dependecies)

It is connected with #3

@NoahTheDuke
Copy link

I second this request. Not very helpful to get a report talking about issues inside code I don't control.

@dpassen
Copy link
Contributor

dpassen commented Apr 5, 2021

FWIW, this is the same behavior as the lein check command that this library emulates.

@pmonks
Copy link

pmonks commented Oct 12, 2021

This behaviour was equally unhelpful back in the lein check days. But regardless, if this is configurable (as I think OP is proposing) then those who like to spend time fixing others' reflection warnings may continue doing so.

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

4 participants