hasura / hasura/graphql-engine
Create computed field that returns single row
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
Hi,
How're you?
Have you considered allowing relations through computed fields?
I'd like to skip making a view if possible to avoid the extra maintenance step.
I know that an alternative is to use a computed field to return a `setof ` but if I only need an object relation, how can I approach that?
Thanks!
Darío
Contributor guide
Research direction
The issue does not name any files, tests, or entry points. First clarify the desired computed-field relation behavior and how a single returned row should be represented, then locate the relevant GraphQL and PostgreSQL integration area and define tests that distinguish it from a setof result or a view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, postgresql
- Domain
- api, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100