Relay support discontinued?

Open
#339 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
elixir, graphql
Domain
api

Research direction

Start with documentation/topics/relay.md at the referenced v1.7.17 revision, then run the reported graphql block and inspect the current resource DSL around relay? support. Confirm whether the option is still supported or deprecated, and update the documentation or reported behavior so the documented example and compiler result agree.

Written by the indexing model from the issue text.

Description

bug
Versions

Hello! First of all - thanks for the amazing work in everything ash-related. Mind-blowing stuff.

I'm looking into building a relay-compatible graphql API, but I can't manage to get it working. The documentation mentions relay? true being available in resources, but I get a compilation errors. Has that been deprecated?

In short, I can't seem to be able to do what's mentioned here:

https://github.com/ash-project/ash_graphql/blob/v1.7.17/documentation/topics/relay.md

Thanks!

Operating system

devcontainer (with alpine)

Current Behavior

No response

Reproduction

Something like this:

  graphql do
    relay? true
    type :foo
  end

Results in:

undefined function relay?/1 (there is no such import)
Expected Behavior

relay? true compiles.

Dominant language
Elixir
Stars
97
Forks
103
Avg merge
9h 6m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ash-project/ash_graphql

All issues in ash-project/ash_graphql

Similar issues

More Elixir issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.