Oleksandr Prypkhan
Oleksandr Prypkhan
@43081j Here you go: https://github.com/oprypkhantc/prettier-reproduction/tree/master It's in Docker, but you can clearly see that `3.5.x` versions do respect `useTabs` and `tabWidth` options I've overwritten, and `3.6.x` does not.
JSON isn't just arrays and objects. `null`, `1`, `1.25`, `true`, `false`, `"string"` - are all valid JSON values, so the function may return `null|int|float|bool|string|array|stdClass` even in case of valid JSON
```php #[Type] class Value { public function __construct() { #[Field] public readonly int $something; } } ``` ?
@er1z If your GQL representation equals your domain (which is what it seems you're trying to do), then there's no point in separating the attributes from the rest of the...
Also dropping the `array $attributes` first parameter of a lot of the attributes - would be nice :)
Just fyi, the same thing has been discussed before here: https://github.com/thecodingmachine/graphqlite/issues/565#issuecomment-1453315482 I ended up implementing a custom solution: ```php /** * This is a special type that represents an absence...
I still believe that this should be a part of GraphQLite, but, at the same time, I'm not sure how I feel about `MissingValue::INSTANCE` hack :/ Either way, this can...
`PhpDocTypes::className($type)` is just a helper to work around a poorly designed `phpDocumentor`: ``` public static function className(Object_|Collection $type): string { return ltrim((string) $type->getFqsen(), '\\'); } ``` Yes, introspection works as...
@Eliasyoussef47 In our case we're building the schema ourselves - not using the `SchemaFactory`, so it's a non-issue. I'm not sure how to do the same using the `addRootTypeMapperFactory`
> I'm not a huge fan of having to define another type on input type properties (fields), but also realize that there probably isn't a better way, if you want...