Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #815 +/- ##
============================================
- Coverage 95.72% 94.55% -1.17%
- Complexity 1773 2202 +429
============================================
Files 154 208 +54
Lines 4586 5845 +1259
============================================
+ Hits 4390 5527 +1137
- Misses 196 318 +122 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@michael-georgiadis any updates on this one? |
|
@oojacoboo, kinda. I can make the CI green but I have to up the lowest support version of |
|
@michael-georgiadis yes, that would be okay. Are there any known BC breaks? Even if so, that's not an issue. I can hold off on the next tagged release and determine that accordingly. |
…tives-v2 # Conflicts: # src/SchemaFactory.php
|
@oojacoboo made the CI go green. Feel free to have a look |
|
@oojacoboo Hey man, mind giving this a review? |
|
@oojacoboo hey, any news on the review? |
|
@michael-georgiadis I'm traveling abroad. I'll get to this next week. Sorry for the delay. If anyone else would like to do a review and help out, that's also welcomed. |
|
@oojacoboo enjoy the vacays, man |
|
@michael-georgiadis thanks for getting tests passing. Everything looks pretty good here. We're going to need the docs updated though. And they'll need to be fairly comprehensive. I'm thinking a new section under |
|
@oojacoboo I'm back! Will wrap up the docs and let ya know! |
…tives-v2 Moves the directive tests and fixtures to the TheCodingMachine\GraphQLite\Tests namespace (thecodingmachine#851). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@oojacoboo Psalm was off so I added a small config file. If you wanna review that separately, happy to open a separate PR |
|
Thanks @michael-georgiadis. It's merged! |
Description
As discussed in #807, the library can support custom defined directives as well. This PR addresses that concern by adding:
@oneOf,@deprecated), validating each at discovery time and enforcing unique names.Directive definition
Defining a directive
Name reservation
@oneOf/@deprecated(names we bind): reserved for custom use unless the directive declares builtIn: true to intentionally override the bundled binding.@skip/@include/@specifiedBy(webonyx directives we don't bind): hard-reserved — sourced from Directive::*_NAME constants — so a custom directive can't collide with them at schema build.