ash-project / ash-project/ash

Support using calculations as relationship keys

Open
#478 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Elixir
Stars
2.5k
Forks
422
Avg merge
23h 26m
Merged PRs (30d)
46

Description

At the moment, if you want to do something like this you need to use a manual relationship. Ideally, we'd be able to support using calculations as relationship keys out of the box, allowing for complex relationships to be defined easily. However, these naturally would not be able to be used with `manage_relationship`.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by tracing how manual relationships, relationship keys, calculations, and manage_relationship are defined; done means calculations can serve as relationship keys while remaining unsupported by manage_relationship.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.