Skip to content

apollo client:codegen change files extension + add eslint-ignore #1004

@adrienharnay

Description

@adrienharnay

Hey,

Currently, when generating typescript typings, files are written next to the gql queries and named [fileName].ts. It could be neat if we could provide a custom extension (say .d.ts).

Also, it would be great to add /* eslint-disable */ at the top, just like the line that disables tslint.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    🎉 featureNew addition or enhancement to existing solutions🤖 component - codegenrelated to the codegen core packages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions