Skip to content

Fix graphQL schemas invalid non-nullable fields #617

@codenem

Description

@codenem

When we send errors, we don't set any data in the graph from the level the error occured.
So we shouldn't use ! in the schema in those cases.
The only valid use cases is for the graph leaves (scalar fields), or cases where we intentionally want to send back data with errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity: mediumRequires some experience with the codebasecomponent:frontendRelated to frontend/UItypescriptPull requests that update javascript code

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions