annkissam / common_graphql_client Goto Github PK
View Code? Open in Web Editor NEWElixir GraphQL Client with HTTP and WebSocket Support
License: MIT License
Elixir GraphQL Client with HTTP and WebSocket Support
License: MIT License
Hi,
I can't get a Phoenix app using Common Graphql Client 0.6.4 to compile - it produces this error:
warning: variable "opts" does not exist and is being expanded to "opts()", please use parentheses to remove the ambiguity or change the variable name
lib/common_graphql_client/client.ex:236: Multiverse.Loader.Client.connection/1
== Compilation error in file lib/multiverse/loader/client.ex ==
** (CompileError) lib/common_graphql_client/client.ex:236: undefined function opts/0
(elixir 1.12.1) src/elixir_locals.erl:114: anonymous fn/3 in :elixir_locals.ensure_no_undefined_local/3
(stdlib 3.15) erl_eval.erl:685: :erl_eval.do_apply/6
(elixir 1.12.1) lib/kernel/parallel_compiler.ex:319: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/7
If I switch back to version 0.6.3 everything works again.
I'm using Erlang 24 and Elixir 12.1.
I haven't had enough time to investigate properly yet - sorry about the lack of details.
Pete
Hey folks, unless I completely missed it, there are no documentations about how to perform GQL queries over the websocket server rather than the HTTP. From my understanding, performing a query over websocket is async rather than sync. How to you get the query response then?
Thanks!
Does this client offer the ability to perform mutations on an endpoint? Looked thru the doc and can't seem to find any.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.