@wayfair/gqmock
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -13,2 +13,8 @@ # Changelog | ||
## [v0.2.3] - 2022-10-13 | ||
### Fixed | ||
- Use deep compare for matching operation arguments | ||
## [v0.2.2] - 2022-10-12 | ||
@@ -15,0 +21,0 @@ |
@@ -10,2 +10,3 @@ "use strict"; | ||
const Logger_1 = __importDefault(require("../utilities/Logger")); | ||
const lodash_1 = require("lodash"); | ||
var SeedType; | ||
@@ -92,4 +93,3 @@ (function (SeedType) { | ||
return (seedDefinition.operationMatchArguments && | ||
seedDefinition.operationMatchArguments[argumentName] === | ||
argumentValue); | ||
(0, lodash_1.isEqual)(seedDefinition.operationMatchArguments[argumentName], argumentValue)); | ||
}); | ||
@@ -96,0 +96,0 @@ if (seedDefinition.options.partialArgs) { |
@@ -1,1 +0,1 @@ | ||
{"name":"@wayfair/gqmock","version":"0.2.2","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.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"}} |
Sorry, the diff of this file is not supported yet
66791