graphql-hive / graphql-hive/envelop

Plugin type unexpectedly gives app context instead of initial context

Open
#1,346 1 comment 0 reactions 0 assignees View on GitHub
kind/bug
Dominant language
No language data
Stars
827
Forks
132
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When writing plugins and using certain lifecycle methods you may get tricked into thinking context building has been done and will have app context available to you when it wont be.

**To Reproduce**
See PR with failing spec

**Expected behavior**
I only want to have type support for AppContext when it is actually available

**Environment:**

- OS: MacOS
- NodeJS: v14.18.2
- `@envelop/*` versions:
- `@envelop/core`: `latest`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.