Skip to content

Feature: new unsecureGraphQLErrors client option to enable unfiltered errors in GraphQL response #127

@Tenrys

Description

@Tenrys

image

Here the issue is that if you have a filter with only null (undefined) values for fields that are non-nullable, Prisma will crash as that is not a valid query.

It would be nice if Prisma AppSync silently "collapsed" the filter to prevent a mistake, or alternatively, gave the proper error. The "cause" bit in that screenshot is my own change to the library in order to demonstrate the issue.

This only happened while dynamically generating the query through front-end code, of course.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Planned

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions