Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Fix setting id in union mocks #6

Merged
merged 3 commits into from
Jan 7, 2021
Merged

Conversation

alexstrat
Copy link
Owner

No description provided.

@alexstrat alexstrat merged commit a16b357 into master Jan 7, 2021
alexstrat added a commit to alexstrat/graphql-tools that referenced this pull request Jan 19, 2021
ardatan pushed a commit to alexstrat/graphql-tools that referenced this pull request Feb 3, 2021
ardatan added a commit to ardatan/graphql-tools that referenced this pull request Feb 3, 2021
* Replace old by new implementation

* Move old test suite to retro-compatibility test suite

* Add documenation

* Make randomListLength always return 2 for retro-compatibility

* Fix enum mocking

* Make error messages backward compatible

* Fix mockResolver to give priority to default resolved value

* Complete arrays of non composite types with values

* Add argument validation thrown errors

* Remove test about mockFunctionMap containing a non-function thingy because it's now supported

* Add support for subscription

* Better support for inserting lists of lists

* Deep resolve mock list to better suport MockList of MockList

* Adapt test 'can mock Interfaces by default'

* Fix support for explicit Interface

* Added doc about MockStore

* Added a migration paragraph

* Fix typo

* Fix setting id in union mocks

Backport of alexstrat/graphql-stateful-mock#6

* Expose schema in IMockStore

Backport of alexstrat/graphql-stateful-mock#5

* Remove test because irrelevant

* Removed test because irrelevant

* Removed tests because irrelevant

* Adapt 2 tetsts on root fields

it leads to useles test caeses

* Add changeset

* Fix typo

* Fix GraphQL 14 compability issue

* Skip failing test

Co-authored-by: Arda TANRIKULU <[email protected]>
ardatan added a commit to ardatan/graphql-tools that referenced this pull request Feb 4, 2021
* Replace old by new implementation

* Move old test suite to retro-compatibility test suite

* Add documenation

* Make randomListLength always return 2 for retro-compatibility

* Fix enum mocking

* Make error messages backward compatible

* Fix mockResolver to give priority to default resolved value

* Complete arrays of non composite types with values

* Add argument validation thrown errors

* Remove test about mockFunctionMap containing a non-function thingy because it's now supported

* Add support for subscription

* Better support for inserting lists of lists

* Deep resolve mock list to better suport MockList of MockList

* Adapt test 'can mock Interfaces by default'

* Fix support for explicit Interface

* Added doc about MockStore

* Added a migration paragraph

* Fix typo

* Fix setting id in union mocks

Backport of alexstrat/graphql-stateful-mock#6

* Expose schema in IMockStore

Backport of alexstrat/graphql-stateful-mock#5

* Remove test because irrelevant

* Removed test because irrelevant

* Removed tests because irrelevant

* Adapt 2 tetsts on root fields

it leads to useles test caeses

* Add changeset

* Fix typo

* Fix GraphQL 14 compability issue

* Skip failing test

Co-authored-by: Arda TANRIKULU <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant