Skip to content

Commit 221d095

Browse files
chore(release): update packages versions (#369)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 7f03d24 commit 221d095

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.changeset/polite-numbers-love.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/typescript-resolver-files/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @eddeee888/gcg-typescript-resolver-files
22

3+
## 0.12.1
4+
5+
### Patch Changes
6+
7+
- 7f03d24: Avoid low-level TypeScript typechecker usage unncessarily, which breaks when running static analysis
8+
9+
Originally, `getType` function was called during static analysis to get low-level `Type` for each type property declarations. These types can be used in typechecker's `isAssignableTo` function, which would have a significant perf boost (if done right). However, there needs to be a significant change to use `.isAssignableTo`, so `getType` was left there so we can continue the work later.
10+
11+
However, declarations of a node could be `undefined` if the type is wrapped in generics that synthesies properties(?). This causes the runtime error. [Relevant convo](https://github.com/microsoft/TypeScript/issues/61697)
12+
13+
For now, we can just remove the `getType` call, until we know how to handle these typing issues.
14+
315
## 0.12.0
416

517
### Minor Changes

packages/typescript-resolver-files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eddeee888/gcg-typescript-resolver-files",
3-
"version": "0.12.0",
3+
"version": "0.12.1",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/eddeee888/graphql-code-generator-plugins.git",

0 commit comments

Comments
 (0)