graphqlite
graphqlite copied to clipboard
Use PHP Attributes/Annotations to declare your GraphQL API
Version: 5.0.1 According to https://graphqlite.thecodingmachine.io/docs/inheritance-interfaces, GraphQLite should only make an `Impl` type when it can't find another type that implements that interface: > If GraphQLite cannot find a proper GraphQL...
When generating fields from a factory method, the field middleware appears to never be called for the generated fields. I expected to be able to do something like: ```php
See below for a context and later I will describe result and expectation. ``` class FiltersFactory { /** * @Factory */ public function createFilters(?string $param = null): Filters { $filters...
When I send query `{{domain}}/graphql?query={whatever}` using **GET** http method to GraphQLite server I get the following error  ``` InvalidArgumentException: Syntax error in body: "" in file /home/dockeruser/app/vendor/thecodingmachine/graphqlite/src/Http/WebonyxGraphqlMiddleware.php on line...
It gets thrown in MutableTrait in line 82. When I add a print_r there for $this->className I can see that the problem is in "Symfony\Component\Security\Core\User\UserInterface". Does anyone have a clue...
I'm trying to use a custom method for the security test as documented under "Accessing the current object". https://graphqlite.thecodingmachine.io/docs/fine-grained-security#accessing-the-current-object But this results in the following error. ``` array_combine(): Both parameters...
Currently the docs for the Laravel and Symfony bundle/extensions are part of this repository and being maintained here. These need to be moved to their respective repositories, as their particulars...
mapTTL seems to be intended to controll the Cache of TypeMappers. It is implemented up to the FactoryContext but the SchemaFactory is not exposing it, nor setting it, which leaves...
I'd like to suggest an additional `NotLogged` annotation that, instead, makes the assumption that all operations are authenticated operations, unless the `NotLogged` annotation has been added. As it is now,...