protojure / lib

A collection of libraries to support Protojure applications at runtime
https://protojure.readthedocs.io
Apache License 2.0
64 stars 14 forks source link

namespace 'protojure.internal.grpc.client.providers.http2.jetty' not found #163

Closed dvliman closed 7 months ago

dvliman commented 7 months ago

protojure.grpc.client.api is supposed to be provider independent client API to invoke GRPC requests. However, there seems to be no way to instantiate the Provider (even if we explicitly have all the dependencies)

[io.github.protojure/io "2.8.2"]
[io.github.protojure/core "2.8.2"]
[io.github.protojure/grpc-client "2.8.2"]
[io.github.protojure/grpc-server "2.8.2"]
[io.github.protojure/google.protobuf "2.0.1"]
Screenshot 2024-03-13 at 6 28 46 PM
 (require '[protojure.grpc.client.providers.http2 :as grpc.http2])
Syntax error compiling at (protojure/internal/grpc/client/providers/http2/core.clj:6:1).
namespace 'protojure.internal.grpc.client.providers.http2.jetty' not found

 (require '[protojure.internal.grpc.client.providers.http2.jetty :as x])
Syntax error compiling at (*cider-repl getaroom/price_sheet:localhost:63710(clj)*:29:19).
namespace 'protojure.internal.grpc.client.providers.http2.jetty' not found

(require '[protojure.internal.grpc.client.providers.http2.core :as x])
Syntax error compiling at (protojure/internal/grpc/client/providers/http2/core.clj:6:1).
namespace 'protojure.internal.grpc.client.providers.http2.jetty' not found

I have also tried checking out back to 2.0.1 (release back in january 2022) following the documentation

I feel like I may have missed something obvious here. Appreciate any help! Thank you

Note: will make repro project tomorrow

dvliman commented 7 months ago

Closing the issue. This problem is not reproducible in a clean project: https://github.com/dvliman/protojure-repro. It is project specific.