Why input_object in Elixir Absinthe is not working?
like
input_object :vehicle_detail do
field :registrationNo, :string
field :imageUrl, :string
end
mutation do
field :create_user, type: :user do
arg :vehicle_details,…
I'm trying to add authentication to this subscription test, since I keep getting Not Authorized when I run mix test.
I've seen that you need to add a login mutation to the push_doc function but I was wondering. Is there any way to use only the…
i have create so many schema, but when i try to import custom scalar type :datetime from absinthe. then it was giving me error like this
== Compilation error in file lib/project_name_web/schema.ex ==
** (Absinthe.Schema.Error) Invalid…
I have created a Phoenix app in Elixir. I used the generation tool to create all the crud functionality and the crud pages.
It currently uses:
def index(conn, _params) do
data = Repo.all(Object)
render(conn, "index.html", data: data)
end
How do…
I gave been following the tutorial made by EQuimper the Instagram clone. I have been trying to extend the application further via the backend as the front end isn't of concern at the moment. I am trying to implement a delete photo feature but it…
I'm trying to get working a simple query with Absinthe#Batch, but the function where the Ecto query is being executed doesn't return any result.
I added some tracing to count the records on the db. It is expected to return always 1, but doesn't.
The…
I am using absinthe with elixir (phoenix 1.3). I have a blog app that has Users, Posts, and Likes, and the likes are joined with a many-to-many relationship between Users and Posts.
schema "users" do
field :email, :string
field :handle,…
Q: I would like to get to know the fields a user is selecting in a GraphQL query within the Absinthe graphql framework.
I have a hard time poking around in %Absinthe.Resolution{} as it is a vast blob of state, that goes with fragmented documentation…