We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I fired up a bare repl, required silk and silk.serve and pasted this example from the README:
silk
silk.serve
(def api-routes (silk/routes {:api-data [["api"] {"limit" (silk/? (silk/int :limit) {:limit 100}) "offset" (silk/? (silk/int :offset) {:offset 0})} (serve/POST)]}))
and the result is:
clojure.lang.Compiler$CompilerException: java.lang.AbstractMethodError, compiling:(boot.user4378993532146088720.clj:3:87) java.lang.AbstractMethodError:
any thoughts on why I'm seeing this?
The text was updated successfully, but these errors were encountered:
Thanks for the report, @AdamFrey. I just pushed 1.1.2 to Clojars. It resolves this issue for me. Try it out.
1.1.2
Sorry, something went wrong.
I no longer get the AbstractMethodError on 1.1.2, but the example still doesn't work for me:
boot.user=> (def api-routes #_=> (silk/routes {:api-data [["api"] {"limit" (silk/? (silk/int :limit) {:limit 100}) #_=> "offset" (silk/? (silk/int :offset) {:offset 0})} (serve/POST)]})) #'boot.user/api-routes boot.user=> (silk/match api-routes {:path ["api"]}) nil boot.user=> (silk/match api-routes {:path ["api"] :request-method :post}) nil
No branches or pull requests
I fired up a bare repl, required
silk
andsilk.serve
and pasted this example from the README:and the result is:
any thoughts on why I'm seeing this?
The text was updated successfully, but these errors were encountered: