Skip to content

chore(tests): add test for directive extensions without flag enabled#4738

Merged
yaacovCR merged 1 commit into
graphql:16.x.xfrom
yaacovCR:requires-option
May 14, 2026
Merged

chore(tests): add test for directive extensions without flag enabled#4738
yaacovCR merged 1 commit into
graphql:16.x.xfrom
yaacovCR:requires-option

Conversation

@yaacovCR

Copy link
Copy Markdown
Contributor

The branch in parseTypeSystemExtension where the 'directive' keyword is encountered but the parsing option was not enabled was apparently NOT covered prior to addition to this test, falsely reported by our imperfect tooling as covered.

At least it appears. This was uncovered by formatting changed of other pending work; the addition of this test should narrow the diff of any other changes.

The branch in parseTypeSystemExtension where the 'directive' keyword is encountered but the parsing option was not enabled was apparently NOT covered prior to addition to this test, falsely reported by our imperfect tooling as covered.

At least it appears. This was uncovered by formatting changed of other pending work; the addition of this test should narrow the diff of any other changes.
@yaacovCR yaacovCR added the PR: polish 💅 PR doesn't change public API or any observed behaviour label May 14, 2026
@vercel

vercel Bot commented May 14, 2026

Copy link
Copy Markdown

@yaacovCR is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@yaacovCR yaacovCR merged commit 2a0173c into graphql:16.x.x May 14, 2026
20 of 21 checks passed
yaacovCR added a commit that referenced this pull request Jun 1, 2026
## v17.0.0-beta.2 (2026-06-02)

#### Breaking Change 💥
* [#4751](#4751) build: strip private discriminator from package types ([@yaacovCR](https://github.com/yaacovCR))
* [#4752](#4752) fix: discriminate between GraphQLNonNull and GraphQLList ([@yaacovCR](https://github.com/yaacovCR))
* [#4770](#4770) refactor: extract ExecutionArgs types to separate file ([@yaacovCR](https://github.com/yaacovCR))

#### New Feature 🚀
* [#4485](#4485) Adopt Error.cause in favor of originalError ([@Malien](https://github.com/Malien))

#### Bug Fix 🐞
* [#4739](#4739) chore(tests): add test for directive extensions without flag enabled (#4738) ([@yaacovCR](https://github.com/yaacovCR))
* [#4743](#4743) api: export VariableValues ([@yaacovCR](https://github.com/yaacovCR))
* [#4744](#4744) api: export ValidationOptions ([@yaacovCR](https://github.com/yaacovCR))
* [#4745](#4745) api: export SchemaChange ([@yaacovCR](https://github.com/yaacovCR))
* [#4746](#4746) api: export defer and stream validation rules ([@yaacovCR](https://github.com/yaacovCR))
* [#4747](#4747) api: export legacy incremental execution functions and helpers ([@yaacovCR](https://github.com/yaacovCR))
* [#4753](#4753) fix(build): development declaration stubs ([@yaacovCR](https://github.com/yaacovCR))
* [#4773](#4773) fix: FragmentVariableValueSource.value can be non-constant ([@yaacovCR](https://github.com/yaacovCR))
* [#4775](#4775) fix: remove unnecessary native promise coercion ([@yaacovCR](https://github.com/yaacovCR))

#### Docs 📝
<details>
<summary> 3 PRs were merged </summary>

* [#4742](#4742) docs: add v17 API docs lint coverage ([@yaacovCR](https://github.com/yaacovCR))
* [#4756](#4756) docs: hide private internals `schema.__validationErrors` and `inputValue._memoizedCoercedDefaultValue` ([@yaacovCR](https://github.com/yaacovCR))
* [#4758](#4758) docs: fix inline examples, deprecation descriptions, type category ([@yaacovCR](https://github.com/yaacovCR))
</details>

#### Polish 💅
* [#4774](#4774) test: restore GraphQLError no-stack coverage ([@yaacovCR](https://github.com/yaacovCR))

#### Internal 🏠
<details>
<summary> 3 PRs were merged </summary>

* [#4771](#4771) internal: drop node 20 integration tests ([@yaacovCR](https://github.com/yaacovCR))
* [#4772](#4772) internal: add deno 2.8.x to CI ([@yaacovCR](https://github.com/yaacovCR))
* [#4777](#4777) fix: preserve generated version documentation ([@yaacovCR](https://github.com/yaacovCR))
</details>

#### Committers: 2
* Yaacov Rydzinski ([@yaacovCR](https://github.com/yaacovCR))
* Yaroslav Petryk([@Malien](https://github.com/Malien))
yaacovCR added a commit to yaacovCR/graphql-js that referenced this pull request Jun 1, 2026
## v16.14.1 (2026-06-02)

#### Docs 📝
<details>
<summary> 9 PRs were merged </summary>

* [graphql#4737](graphql#4737) docs: refresh upgrade guide and v17 topics ([@yaacovCR](https://github.com/yaacovCR))
* [graphql#4741](graphql#4741) docs: add v16 API docs lint coverage ([@yaacovCR](https://github.com/yaacovCR))
* [graphql#4748](graphql#4748) docs: update banner ([@yaacovCR](https://github.com/yaacovCR))
* [graphql#4750](graphql#4750) docs: use api docs generated from inline jsdoc comments ([@yaacovCR](https://github.com/yaacovCR))
* [graphql#4754](graphql#4754) docs: update website caniuse-lite data ([@yaacovCR](https://github.com/yaacovCR))
* [graphql#4755](graphql#4755) docs: hide internal type member __validationErrors ([@yaacovCR](https://github.com/yaacovCR))
* [graphql#4757](graphql#4757) docs: fix inline examples, deprecation descriptions, type category ([@yaacovCR](https://github.com/yaacovCR))
* [graphql#4759](graphql#4759) docs: fix static export redirect config ([@yaacovCR](https://github.com/yaacovCR))
* [graphql#4767](graphql#4767) docs: fix Post_body example variable ([@fallintoplace](https://github.com/fallintoplace))
</details>

#### Polish 💅
* [graphql#4738](graphql#4738) chore(tests): add test for directive extensions without flag enabled ([@yaacovCR](https://github.com/yaacovCR))

#### Internal 🏠
* [graphql#4778](graphql#4778) fix: generated version documentation ([@yaacovCR](https://github.com/yaacovCR))

#### Committers: 2
* Minh Vu([@fallintoplace](https://github.com/fallintoplace))
* Yaacov Rydzinski ([@yaacovCR](https://github.com/yaacovCR))
yaacovCR added a commit that referenced this pull request Jun 1, 2026
## v16.14.1 (2026-06-02)

#### Docs 📝
<details>
<summary> 9 PRs were merged </summary>

* [#4737](#4737) docs: refresh upgrade guide and v17 topics ([@yaacovCR](https://github.com/yaacovCR))
* [#4741](#4741) docs: add v16 API docs lint coverage ([@yaacovCR](https://github.com/yaacovCR))
* [#4748](#4748) docs: update banner ([@yaacovCR](https://github.com/yaacovCR))
* [#4750](#4750) docs: use api docs generated from inline jsdoc comments ([@yaacovCR](https://github.com/yaacovCR))
* [#4754](#4754) docs: update website caniuse-lite data ([@yaacovCR](https://github.com/yaacovCR))
* [#4755](#4755) docs: hide internal type member __validationErrors ([@yaacovCR](https://github.com/yaacovCR))
* [#4757](#4757) docs: fix inline examples, deprecation descriptions, type category ([@yaacovCR](https://github.com/yaacovCR))
* [#4759](#4759) docs: fix static export redirect config ([@yaacovCR](https://github.com/yaacovCR))
* [#4767](#4767) docs: fix Post_body example variable ([@fallintoplace](https://github.com/fallintoplace))
</details>

#### Polish 💅
* [#4738](#4738) chore(tests): add test for directive extensions without flag enabled ([@yaacovCR](https://github.com/yaacovCR))

#### Internal 🏠
* [#4778](#4778) fix: generated version documentation ([@yaacovCR](https://github.com/yaacovCR))

#### Committers: 2
* Minh Vu([@fallintoplace](https://github.com/fallintoplace))
* Yaacov Rydzinski ([@yaacovCR](https://github.com/yaacovCR))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: polish 💅 PR doesn't change public API or any observed behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant