sailor
sailor copied to clipboard
A typesafe GraphQL client for PHP
- [x] Added automated tests - [ ] Documented for all relevant versions - [ ] Updated the changelog Resolves https://github.com/spawnia/sailor/issues/30 **Changes** Support the upcoming `graphql-php` v15. **Breaking changes** So...
**Is your feature request related to a problem? Please describe.** Query strings could be printed more compactly by omitting some whitespace. This would shave off a few bytes from each...
**Is your feature request related to a problem? Please describe.** I'm loading several pages from graphql api and need to do it asynchronously in order to make it faster **Describe...
- [x] Added automated tests - [x] Documented for all relevant versions - [x] Updated the changelog **Changes** Add class `Spawnia\Sailor\Type\NativeEnumTypeConfig` to generate native PHP enums. **Breaking changes** No, the...
- [x] Added automated tests - [ ] Documented for all relevant versions - [ ] Updated the changelog https://github.com/spawnia/sailor/issues/77 **Changes** When an operation tells the server to omit a...
Generating PHP code should not be used in prod, only in dev. The same is for `symfony/console`. Maybe other libs that are in required are used for code gen only,...
When trying to make a query named "Cases" - exceptions are thrown because it's not escaped somewhere
**Describe the bug** When trying to use this query, it fails with `[Nette\InvalidArgumentException] Value 'Case' is not valid class name.` ```gql query Foo { cases { edges { node {...
**Is your feature request related to a problem? Please describe.** Sometimes, it is valuable to see the error response body, not just status code because it can contain an error...
Resolves https://github.com/spawnia/sailor/issues/121 - [x] Added automated tests - [x] Documented for all relevant versions - [ ] Updated the changelog **Changes** Call `__set` to avoid setting the protected property `$properties`...
**Describe the bug** An graphql argument named 'properties' is colliding with the protected member of the Base class "ObjectLike". It will result in resetting all arguments coming before 'properties' resulting...