Skip to content

DateType schema field generates GraphQL type that isn't provided #1648

Closed
@Swahvay

Description

@Swahvay

Using the DateType schema field type generates a GraphQL type of Time, but that object is never defined in the schema file.

// foo_schema.ts
const FooSchema = new EntSchema({
  date: DateType({});
}
# schema.gql
type Foo implements Node {
  date: Time!
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions