-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New features for GraphQL typescript plugin #1757
Commits on Sep 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f33c2c6 - Browse repository at this point
Copy the full SHA f33c2c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3767300 - Browse repository at this point
Copy the full SHA 3767300View commit details
Commits on Oct 17, 2021
-
feat(plugin) process only classes with whitelisted decorators
Prior to this change typescript transform plugin processed all classes in files with a matching names. This is probably not desirable behaviour because there might be classes not exposed to graphql and they should not be processed This change makes processing a bit smarter, so it only processes classes decorated with ObjectType / InterfaceType and InputType decorators.
Configuration menu - View commit details
-
Copy full SHA for ba872af - Browse repository at this point
Copy the full SHA ba872afView commit details -
Configuration menu - View commit details
-
Copy full SHA for c040d5d - Browse repository at this point
Copy the full SHA c040d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3534806 - Browse repository at this point
Copy the full SHA 3534806View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f5ed13 - Browse repository at this point
Copy the full SHA 7f5ed13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40d8aba - Browse repository at this point
Copy the full SHA 40d8abaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 537e5b7 - Browse repository at this point
Copy the full SHA 537e5b7View commit details
Commits on Oct 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1946079 - Browse repository at this point
Copy the full SHA 1946079View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8c8c88 - Browse repository at this point
Copy the full SHA c8c8c88View commit details -
fix(plugin) downlevel implicit registerEnumType import in CommonJS
When code is downleveled to ES5 it automatically change all usages of imported members except those which was added by transform. This breaks `registerEnumType()` calls added by transform. The solution is create an explicit dedicated import only for this method in the transform and not relay on exisitng imports at all.
Configuration menu - View commit details
-
Copy full SHA for e8763d6 - Browse repository at this point
Copy the full SHA e8763d6View commit details
Commits on Oct 19, 2021
-
tests(plugin) add tests for commonjs import changing that actually ch…
…eck something Previous test used transpile-only code, which produced code not showing actual transformation therefore this test didn't actually check that imports correctly added
Configuration menu - View commit details
-
Copy full SHA for d84e42d - Browse repository at this point
Copy the full SHA d84e42dView commit details -
refactor(plugin) remove nested types introspection, refactor
Nested types introspection was useless because runtime did not understand this code. There is no way to use "anonymous" type literals in graphql schema Add tests for replaceImportPath util, because current test suite didn't cover all branches in it.
Configuration menu - View commit details
-
Copy full SHA for 5d59b38 - Browse repository at this point
Copy the full SHA 5d59b38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe7cdb - Browse repository at this point
Copy the full SHA 3fe7cdbView commit details
Commits on Nov 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9d61a01 - Browse repository at this point
Copy the full SHA 9d61a01View commit details
Commits on Feb 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 17dc544 - Browse repository at this point
Copy the full SHA 17dc544View commit details -
Merge remote-tracking branch 'upstream/master' into feature/graphql-p…
…lugin # Conflicts: # .prettierignore # packages/graphql/lib/plugin/utils/ast-utils.ts # packages/graphql/lib/plugin/visitors/model-class.visitor.ts # packages/graphql/tests/plugin/fixtures/nullable.dto.ts # packages/graphql/tests/plugin/model-class-visitor.spec.ts
Configuration menu - View commit details
-
Copy full SHA for 8c27c3d - Browse repository at this point
Copy the full SHA 8c27c3dView commit details
Commits on Jul 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5c6e0c0 - Browse repository at this point
Copy the full SHA 5c6e0c0View commit details
Commits on Jul 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4ab789a - Browse repository at this point
Copy the full SHA 4ab789aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1afa497 - Browse repository at this point
Copy the full SHA 1afa497View commit details