Skip to content

Latest commit

 

History

History
103 lines (71 loc) · 3.6 KB

CHANGELOG_V4.md

File metadata and controls

103 lines (71 loc) · 3.6 KB

easygraphql-tester V4 ChangeLog

Current
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0

Version 4.1.4

Notable Changes

  • Validate deprecated fields: Pass the option to validate deprecated fields, if there is one it'll throw an error.
  • Use JSON schema: Bump dependencies to use JSON schema.
  • easygraphql-mock:
    • Bump version of easygraphql-mock.
  • easygraphql-parser:
    • Bump version of easygraphql-parser.

Commits

  • [7df57d65b5] - Validate deprecated fields and receive JSON schema.

Version 4.1.3

Notable Changes

  • Fix fixture on nested array: Prevent returning the last value of the array and set the correct values.

Commits

Version 4.1.2

Notable Changes

  • Set fixture to enum: Set passed fixture to enum.

Commits

Version 4.1.1

Notable Changes

  • Set fixture to custom scalar: Set passed fixture to custom scalar.
  • Validate schema against fixture typeof: Validate field type against the typeof fixture.

Commits

Version 4.1.0

Notable Changes

  • Update fixture validation: Validate fixture against the parsed schema and no against the mock.
  • Set fixture using class method: Set fixtures with .setFixture().
  • Prevent auto mock query fields with fixture: Prevent autoMock of the fields that are not on the fixture.
  • Validate fixture values with autoMock disables: validate that the fields on the fixture match with the request ones on the query (ignore extra fields that are not used on the query).
  • Clear fixture value set with setFixture: Clear the fixture passed with .setFixture() and return autoMock to true.

Commits

Version 4.0.0

Notable Changes

  • Return fixture of errors: Return a fixture of a custom error.
  • Return partial data and errors: Return a mock of partial data and errors.
  • Return mock object inside data: Return the mock inside a data object, the same format used on GraphQL.
  • Validate used variables defined on the query: Validate the used variables that are defined on the query.
  • Return array of scalar fixture: Return the array of scalar values.
  • Validate custom scalar on mutation input: Validate custom scalar on mutation input.

Commits