sailor icon indicating copy to clipboard operation
sailor copied to clipboard

A typesafe GraphQL client for PHP

Results 11 sailor issues
Sort by recently updated
recently updated
newest added

- [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...

enhancement

**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...

enhancement

- [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...

enhancement

- [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...

bug

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,...

discussion

**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...

enhancement

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`...

bug

**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...

bug