zorn
AEAsh Elixir
•Created by zorn on 8/25/2023 in #support
Do I have to manually make a `node` query in Absinthe to honor Global Object Identification?
I am using a SvelteKit library called Houdini to consume a GraphQL endpoint I am creating in Ash.
I've intentionally marked my
graphql, queries, list
with relay?: true
per the docs:
https://ash-hq.org/docs/dsl/ash-resource#graphql-queries-list-relay-
While pulling the schema for the frontend code, I get this error:
My observation is that my AshGraph is generating the
part just fine, but I do not see the
Is the expectation that I should have to write a manual node
query and resolver inside the Absinthe schema file such that my graph honored the Global Object Identification spec? Or is there someway to nudge AshGraph to generate this for me?20 replies
AEAsh Elixir
•Created by zorn on 8/17/2023 in #showcase
[VIDEO] Early thoughts on using Ash Framework to produce a GraphQL API.
👨💻 In this video, I speak to some ideas about a future project and my current experiments around different technologies, specifically the Elixir Ash Framework, and using it to produce GraphQL endpoints.
https://www.youtube.com/watch?v=ZeMuXWrRq80
7 replies
AEAsh Elixir
•Created by zorn on 8/17/2023 in #support
Is the structure from the auto-generated graph filters from some spec?

8 replies
AEAsh Elixir
•Created by zorn on 8/15/2023 in #support
Trying to better understand filter in the context of AshGraph
I am trying to work through some basics of AshGraph, and in the guide it has you set up a filter with code like:
https://ash-hq.org/docs/guides/ash_graphql/latest/graphql-generation#filter-data-with-arguments
I'm having trouble understanding what is going on here. I am particularly confused about the
is_nil
check and why this is an or
.
When I run a query like:
It works as expected (I only get back tickets with that representativeId
. But then, when I try:
I get back all tickets, those with a null
representativeId
and those with a proper id.
My code is here in case that helps provide context: https://github.com/zorn/helpdesk-elixir-api28 replies
AEAsh Elixir
•Created by zorn on 5/27/2023 in #support
What is the difference between `mix ecto.create` and `mix ash_postgres.create`.
In my early experiments, they seem to do the same thing, but not sure if I am missing something. Maybe this is mostly for the
--apis
flag thing?
https://ash-hq.org/docs/mix_task/ash_postgres/latest/ash_postgres-create4 replies