@graphql-markdown/printer-legacy 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +5 -1
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "bugs": {
6
6
  "url": "https://github.com/graphql-markdown/graphql-markdown/issues"
7
7
  },
8
- "version": "1.1.5",
8
+ "version": "1.1.6",
9
9
  "license": "MIT",
10
10
  "main": "src/index.js",
11
11
  "repository": {
package/src/index.js CHANGED
@@ -294,7 +294,11 @@ module.exports = class Printer {
294
294
  parentType: undefined,
295
295
  },
296
296
  ) {
297
- if (typeof type === "undefined" || type === null) {
297
+ if (
298
+ typeof type === "undefined" ||
299
+ type === null ||
300
+ hasDirective(type, this.skipDocDirective)
301
+ ) {
298
302
  return "";
299
303
  }
300
304