Skip to content

馃悰 Bug: If the key has a "type" name, the line is not taken into account#1

Description

@David-Moisan

When the schema GraphQL has a key with a "type" name, the line is not taken into conversion.

type Test {
    id: ID!
    name: String
    type: TestType
}

Then the conversion will give this

export const Test = {
    id: number
    name: string | null
}

Fixing the bug on the next update

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions