-
-
Notifications
You must be signed in to change notification settings - Fork 893
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
Deprecations in GraphQl context #5554
Labels
Comments
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 |
Any ETA about fixing this issue? It's very annoying. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: