Skip to content

Autocomplete not compatible with graphql-codegen #17

@richardhenry

Description

@richardhenry

Thanks for sharing this extension!

When using graphql-codegen (the npm package, not a Zed plugin) with this extension, the autocomplete suggestions are instead pulled from the TypeScript type of the graphql function, rather than autocompleting the query fields, keywords, etc. If you accidentally hit return, you end up blowing away your whole query and inserting a different query that types have already been generated for (this is the case even without this Zed extension installed).

The syntax highlighting driven by this extension seems to work, so the extension is correctly recognizing the queries otherwise, but doesn't seem to be being prioritized for autocompletion.

Image

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