Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

GraphQL service fails if service incorrectly has no fields configured. #40

Closed
eddyystop opened this issue Sep 13, 2018 · 0 comments
Closed
Labels

Comments

@eddyystop
Copy link
Member

eddyystop commented Sep 13, 2018

Throw on .listen() or .setup() if a service is included in GraphQL but it has no fields defined in its schema. Of course this service should have specified graphql: false on the prompts.

generate graphql should check for this. It should display a message for each such service found and then terminate without generating files.

Multiple test-expands have no fields for user1. Adding fields will change multiple other files. There is time consuming work to make these test run after this problem is fixed.

@eddyystop eddyystop added the bug label Sep 16, 2018
@eddyystop eddyystop changed the title GraphQL service fails if service has no fields configured. GraphQL service fails if service incorrectly has no fields configured. Sep 16, 2018
@daffl daffl closed this as completed Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants