Skip to content

Drop "@internal" annotation from the InputField class #761

@andrew-demb

Description

@andrew-demb

Since TheCodingMachine\GraphQLite\Middlewares\InputFieldMiddlewareInterface is allowed to be implemented by the userland and its method requires returning an instance of the TheCodingMachine\GraphQLite\InputField (or null) - I'm sure that the InputField class should not be marked with @internal tag - because there is no way to implement middleware without knowledge of the InputField class.

/**
* A GraphQL input field that maps to a PHP method automatically.
*
* @internal
*
* @phpstan-import-type InputObjectFieldConfig from InputObjectField
* @phpstan-import-type ArgumentType from InputObjectField
*/
final class InputField extends InputObjectField

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions