Skip to content

Promise in resolve() mapped fields #701

@yorrd

Description

@yorrd

It would be lovely to be able to use async functions in resolve() methods. That way, I could aggregate a database to a fields. Right now, I have to hack the publication because if I use async methods in resolve(), a promise is literally set as the value of the field (which makes sense but doesn't help me)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions