Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extensibility for easy integration of Apollo Federation PHP (v2) #1040

Open
wants to merge 34 commits into
base: 0.14
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1e0c084
Ignore IDE configs
a-melnikov Jul 25, 2022
df90ef0
Define default configs by constant instead of static property
a-melnikov Jul 25, 2022
3d62d90
Update phpDoc
a-melnikov Jul 25, 2022
255bf3a
Make parsers configurable
a-melnikov Jul 25, 2022
7379447
Add documentation about parsers configuration
a-melnikov Jul 25, 2022
556e1fb
Allow plugin phpstan/extension-installer
a-melnikov Jul 25, 2022
ea13b32
Make GraphQLParser.php easy overridable.
a-melnikov Jul 25, 2022
c5eb2ca
Make ObjectNode.php config parsing better overridable.
a-melnikov Jul 25, 2022
0377048
Make ObjectTypeDefinition.php overridable
a-melnikov Jul 26, 2022
547f00c
Use base type enum
a-melnikov Jul 26, 2022
51ca461
Configure services autowiring
a-melnikov Jul 26, 2022
624fa15
Make TypeBuilder extendable
a-melnikov Jul 26, 2022
38b706e
Make TypesConfiguration and InheritanceProcessor extendable (dirty qu…
a-melnikov Jul 26, 2022
1a3665e
Split TypeBuilder for more flexibility & extensibility
a-melnikov Jul 27, 2022
9b13b9b
Use single source for all consumers of "GQL services" expression part
a-melnikov Jul 27, 2022
7da17db
Simplify generators services definition
a-melnikov Jul 27, 2022
b531be4
Fix misprint in tests
a-melnikov Jul 28, 2022
5c70a14
Fix parsing of callback of custom scalar type
a-melnikov Jul 28, 2022
e81e44d
Move TypeGeneratorOptions to the Model namespace
a-melnikov Jul 28, 2022
e1dc5a1
Move generator's Collection to the Model namespace
a-melnikov Jul 28, 2022
f00368d
Add stubs instead of moved models for backward compatibility
a-melnikov Jul 28, 2022
28e6902
Add phpDoc
a-melnikov Jul 28, 2022
23e5570
Describe returned data type
a-melnikov Jul 28, 2022
98ea0b9
Simplify extending of fields definition
a-melnikov Jul 29, 2022
a69993b
Extract parsing of interfaces
a-melnikov Aug 1, 2022
beaba14
Fix code style
a-melnikov Aug 4, 2022
0f0a096
Add phpDoc describing data types
a-melnikov Aug 4, 2022
e748140
Make code better extendable
a-melnikov Aug 4, 2022
a6c2a18
Fix tests namespaces
a-melnikov Aug 4, 2022
47fd027
Work around of parsing of "description" field of type extension nodes
a-melnikov Aug 4, 2022
515f86f
Fix PHPStan errors
a-melnikov Aug 5, 2022
cf99c9b
Fix extendability of schema builder
a-melnikov Aug 5, 2022
b19d6de
Change return type from \Closure to callable
a-melnikov Aug 8, 2022
3b25183
Fix using of array_key_exists with \ArrayObject
a-melnikov Aug 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix misprint in tests
a-melnikov committed Jul 28, 2022
commit b531be40aa5b109f87abe2680e7b6a3d1d82c807
2 changes: 1 addition & 1 deletion tests/ExpressionLanguage/TestCase.php
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ protected function createGraphQLServices(array $services = []): GraphQLServices
$locateableServices = [
'typeResolver' => fn () => $this->createMock(TypeResolver::class),
'queryResolver' => fn () => $this->createMock(TypeResolver::class),
'mutationResolver' => fn () => $$this->createMock(MutationResolver::class),
'mutationResolver' => fn () => $this->createMock(MutationResolver::class),
];

foreach ($services as $id => $service) {