99designs / 99designs/gqlgen

add support for resolveManyEntities to return a list of entities and errors

Open
#3,515 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10.8k
Forks
1.3k
Avg merge
2d 36m
Merged PRs (30d)
26

Description

When using `resolveEntity`, then `resolveEntityGroup` populates the response with either an entity or an error, depending on what the resolver returns.

With `resolveManyEntities`, the plugin takes either the list of entities, or the errors; it would be nice to be able to return a mix of entities AND errors, like the end user would get in case `resolveEntity` is being used.

If you don't want to support it out-of-the-box, it would be nice if you could provide an option to override the federation template, then we would be able to customize it to our use case.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.