Created
June 6, 2019 21:51
-
-
Save benwilson512/8dd85d76eb21f72aa5ad61fe5ccb5c4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in application.ex | |
[ | |
{Absinthe.Client, MyApp.Client} | |
] | |
defmodule MyApp.Client do | |
use Absinthe.Client | |
end | |
thing = MyApp.Client.new() | |
MyApp.Client.run(thing, "") | |
{:ok, myclient} = Absinthe.Client.new(MyApp.Client, %{socket: NamedSocket}) | |
MyClient.run(myclient, "subscription {now }") | |
Absinthe.Client.run(, ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment