@wayfair/gqmock
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -13,2 +13,8 @@ # Changelog | ||
## [v0.2.4] - 2022-10-17 | ||
### Fixed | ||
- Handle falsy values correctly in merge logic | ||
## [v0.2.3] - 2022-10-13 | ||
@@ -15,0 +21,0 @@ |
@@ -84,3 +84,6 @@ "use strict"; | ||
} | ||
else if (source[targetKey] === null) { | ||
else if (source[targetKey] === null || | ||
source[targetKey] === false || | ||
source[targetKey] === 0 || | ||
source[targetKey] === '') { | ||
source[targetKey] = targetValue; | ||
@@ -87,0 +90,0 @@ } |
@@ -1,1 +0,1 @@ | ||
{"name":"@wayfair/gqmock","version":"0.2.3","description":"GQMock - GraphQL Mocking Service","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/wayfair-incubator/gqmock.git"},"keywords":["api","federated","federation","gql","graphql","mocking","mock","service"],"author":"@mmazur122","license":"MIT","bugs":{"url":"https://github.com/wayfair-incubator/gqmock/issues"},"files":["dist/**/*"],"homepage":"https://github.com/wayfair-incubator/gqmock#readme","dependencies":{"@apollo/subgraph":"^2.1.3","@babel/runtime":"^7.18.9","apollo-server":"^3.10.1","chalk":"4.1.2","escape-string-regexp":"^4.0.0","express":"^4.18.1","graphql":"^16.6.0","joi":"^17.6.0","lodash":"^4.17.21","node-fetch":"^2.6.7","uuid":"^8.3.2"}} | ||
{"name":"@wayfair/gqmock","version":"0.2.4","description":"GQMock - GraphQL Mocking Service","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/wayfair-incubator/gqmock.git"},"keywords":["api","federated","federation","gql","graphql","mocking","mock","service"],"author":"@mmazur122","license":"MIT","bugs":{"url":"https://github.com/wayfair-incubator/gqmock/issues"},"files":["dist/**/*"],"homepage":"https://github.com/wayfair-incubator/gqmock#readme","dependencies":{"@apollo/subgraph":"^2.1.3","@babel/runtime":"^7.18.9","apollo-server":"^3.10.1","chalk":"4.1.2","escape-string-regexp":"^4.0.0","express":"^4.18.1","graphql":"^16.6.0","joi":"^17.6.0","lodash":"^4.17.21","node-fetch":"^2.6.7","uuid":"^8.3.2"}} |
@@ -90,6 +90,6 @@ # `@wayfair/gqmock`: GQMock - GraphQL Mocking Service | ||
| Parameter Name | Required | Description | Type | Default | | ||
| ------------------- | -------- | -------------------------------- | ------- | ------- | | ||
| `port` | No | Port used to run the mock server | number | 5000 | | ||
| `subgraph` | No | Enable subgraph schema support | boolean | false | | ||
| Parameter Name | Required | Description | Type | Default | | ||
| -------------- | -------- | -------------------------------- | ------- | ------- | | ||
| `port` | No | Port used to run the mock server | number | 5000 | | ||
| `subgraph` | No | Enable subgraph schema support | boolean | false | | ||
@@ -96,0 +96,0 @@ #### `async GraphqlMockingService.start` |
Sorry, the diff of this file is not supported yet
67086
781