feat: Add support for GraphQL federation

Open
#447 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
elixir, graphql
Domain
api, backend

Research direction

Start by reviewing how ash_graphql currently generates GraphQL schemas and how absinthe_federation exposes federation support. Compare the generated schema with the GraphQL federation specification and identify the integration boundaries. Done means ash_graphql can declaratively generate schemas accepted as federated schemas through absinthe_federation.

Written by the indexing model from the issue text.

Description

enhancement
Code of Conduct
  • I agree to follow this project's Code of Conduct
AI Policy
  • I agree to follow this project's AI Policy, or I agree that AI was not used while creating this issue.
Is your feature request related to a problem? Please describe.

Currently, GraphQL schemas generated with ash_graphql don't support the GraphQL federation specification.

Describe the solution you'd like

Support GraphQL federation through ash_graphql via absinthe_federation.

Describe alternatives you've considered

I've considered using Ash without the ash_graphql extension and then relying on absinthe, but it feels hacky and I'd much prefer the declarative approach Ash GraphQL brings to the table for generating our federated GraphQL schemas.

Additional context

No response

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.