Open mi-wulf opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
same here
please, re-open this issue @soyuka @dunglas .
It is caused by ApiPlatform\GraphQl\Type\TypeBuilder
implementing TypeBuilderInterface
.
It is the same for ApiPlatform\GraphQl\Type\FieldsBuilder
Any ETA about fixing this issue? It's very annoying.
API Platform version(s) affected: 3.1.7
Description
Please remove the deprecations. I get the warnings while running tests.
Example
Remaining indirect deprecation notices (2)
2x: Using getResourcePaginatedCollectionType method of TypeBuilder is deprecated since API Platform 3.1. Use getPaginatedCollectionType method instead.
...
Other deprecation notices (6)
2x: $typeBuilder argument of TypeConverter implementing "ApiPlatform\GraphQl\Type\TypeBuilderInterface" is deprecated since API Platform 3.1. It has to implement "ApiPlatform\GraphQl\Type\TypeBuilderEnumInterface" instead.
...
2x: $typeBuilder argument of FieldsBuilder implementing "ApiPlatform\GraphQl\Type\TypeBuilderInterface" is deprecated since API Platform 3.1. It has to implement "ApiPlatform\GraphQl\Type\TypeBuilderEnumInterface" instead.
...
2x: $fieldsBuilder argument of SchemaBuilder implementing "ApiPlatform\GraphQl\Type\FieldsBuilderInterface" is deprecated since API Platform 3.1. It has to implement "ApiPlatform\GraphQl\Type\FieldsBuilderEnumInterface" instead.
...
Affected files: getResourcePaginatedCollectionType: vendor/api-platform/core/src/GraphQl/Type/FieldsBuilder.php:526
ApiPlatform\GraphQl\Type\TypeBuilderEnumInterface: vendor/api-platform/core/src/GraphQl/Type/FieldsBuilder.php:46 vendor/api-platform/core/src/GraphQl/Type/FieldsBuilder.php:48 vendor/api-platform/core/src/GraphQl/Type/FieldsBuilder.php:52 vendor/api-platform/core/src/GraphQl/Type/TypeBuilder.php:39 vendor/api-platform/core/src/GraphQl/Type/TypeConverter.php:40 vendor/api-platform/core/src/GraphQl/Type/TypeConverter.php:42 vendor/api-platform/core/src/GraphQl/Type/TypeConverter.php:43