TypeScript Language Service Plugin for GraphQL developers
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/Quramy/ts-graphql-plugin/compare/v4.0.2...v4.0.3
Published by Quramy 7 months ago
exclude
option by @Quramy in https://github.com/Quramy/ts-graphql-plugin/pull/1291
Full Changelog: https://github.com/Quramy/ts-graphql-plugin/compare/v4.0.1...v4.0.2
Published by Quramy 7 months ago
Full Changelog: https://github.com/Quramy/ts-graphql-plugin/compare/v4.0.0...v4.0.1
Published by Quramy 7 months ago
tag
valuesWe introduce "Global Fragment Registry" feature at version 3.1, which was opt-in. We set this feature enabled by default in version 4.
tag
valuesIn ts-graphql-plugin up to version 3, tag name of template literal strings for GraphQL document should be set explicitly.
In almost all cases, this is set to gql
or graphql
. So we change the default value of tag
this value since version 4.
removeDuplicatedFragments
section by @Quramy in https://github.com/Quramy/ts-graphql-plugin/pull/1276
Full Changelog: https://github.com/Quramy/ts-graphql-plugin/compare/v3.2.0...v4.0.0
Published by Quramy 7 months ago
Full Changelog: https://github.com/Quramy/ts-graphql-plugin/compare/v3.1.2...v3.2.0
Published by Quramy 7 months ago
Full Changelog: https://github.com/Quramy/ts-graphql-plugin/compare/v3.1.1...v3.1.2
Published by Quramy 7 months ago
Full Changelog: https://github.com/Quramy/ts-graphql-plugin/compare/v3.1.0...v3.1.1
Published by Quramy 7 months ago
graphql-codegen
🎉enabledGlobalFragments
option allows to analyze operation and fragments defined in different templates without interpolation(e.g. ${postFragment}
).tag
option .In combination these, ts-graplql-plugin works with graphql-codegen
compatible code such as:
import { graphql } from "./gql";
const postFragment = graphql(`
fragment PostFragment on Post {
title
author {
name
}
}
`);
const query = graphql(`
query AppQuery {
popularPosts {
id
...PostFragment
}
}
`);
See example If you want more details,
tag
customize pattern by @Quramy in https://github.com/Quramy/ts-graphql-plugin/pull/1226
enabledGlobalFragments
by @Quramy in https://github.com/Quramy/ts-graphql-plugin/pull/1232
Published by Quramy 8 months ago
Full Changelog: https://github.com/Quramy/ts-graphql-plugin/compare/v3.0.1...v3.0.2
Published by Quramy over 1 year ago
Published by Quramy almost 2 years ago
typescript@^4.8.0
. Since TypeScript 4.8, ts AST structures changes significantly. And ts-graphql-plugin omitted old TypeScript version support to follow this TypeScript change.Published by Quramy over 2 years ago
Published by Quramy over 2 years ago
graphql
peer dependencies version( allow graphql: "^16"
) (#808)Published by Quramy over 2 years ago
Published by Quramy almost 4 years ago
Published by Quramy almost 4 years ago
Published by Quramy almost 4 years ago
TypedQueryDocumentNode
#253removeFrafmentDefiniton
for transformer ) #254Published by Quramy almost 4 years ago
Published by Quramy about 4 years ago
graphql
>= v15 or later (#121)Published by Quramy over 4 years ago