Skip to content

Error when reading typedef from file in V2.6.6 #2921

@ais-one

Description

@ais-one

Package Name & Version

The issue is present in apollo-server-express, the latest version (2.6.6).

Latest version where the problem did not occur

My previous version was 2.6.3

Expected Behavior

gql schema can load from file

Actual Behavior

The following fatal error occurs

TypeError: Cannot read property 'some' of undefined

Repo demonstrating the problem

https://github.com/ais-one/apollo-express-test
It's a simple example showing how to replicate the problem

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