Current |
---|
4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.0.0 |
- 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.
- [
7df57d65b5
] - Validate deprecated fields and receive JSON schema.
- Fix fixture on nested array: Prevent returning the last value of the array and set the correct values.
- [
73345b4ff9
] - Fix array nested fixture.
- Set fixture to enum: Set passed fixture to enum.
- [
cd5723b51c
] - Set fixture to enum.
- Set fixture to custom scalar: Set passed fixture to custom scalar.
- Validate schema against fixture typeof: Validate field type against the typeof fixture.
- [
3f634be654
] - Fix custom scalar.
- 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 returnautoMock
totrue
.
- [
e6e4c4072c
] - Set fixture method.
- 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.
- [
1ad826c9d8
] - Partial GraphQLResponse. - [
c296406960
] - Validate variables on multiple queries. - [
b9f596ab65
] - Return scalar arr. - [
e3f05dea86
] - Remove unused set null fixture. - [
a65e2b5638
] - Validate scalar on input.