Skip to content

feat: Create dummy Apollo frontend server #1822

@flacial

Description

@flacial

We have 49 test files with 23 mocked query data. If we renamed a single field, we'll have to update most of the mocks in our GraphQL type definitions. That's too much work.

This article tackles the issue of hard coding our mocks and provides a solution for it. Using the auto-generated introspection JSON file, we will create a dummy GraphQL server that responds with the right query mock.

This issue closes #928

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions