Skip to content

Commit

Permalink
Allow passing arrays of extensions to extend
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Oct 14, 2021
1 parent e7c75b0 commit c92bf61
Show file tree
Hide file tree
Showing 4 changed files with 387 additions and 174 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-news-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-ts/extend": minor
---

An array of extensions can now be passed to `extend`
8 changes: 5 additions & 3 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = {
plugins: [require.resolve("prettier-plugin-jsdoc")],
};
module.exports =
// inline snapshots don't play well with the plugin for some reason
process.env.NODE_ENV !== "test"
? { plugins: [require.resolve("prettier-plugin-jsdoc")] }
: {};

0 comments on commit c92bf61

Please sign in to comment.