Adel Salakh

Results 11 issues of Adel Salakh

Config should have a new `typeMap` field: ```js { typeMap: { bigint: 'number' | 'bigint' | 'string', interval: 'iso-string' | 'interval' | 'string' } } ``` This field allows to...

Allow parsing big integers into JS `BigInt`. This should be exposed as an override-able config option `bigInt: bigint | string | number`.

runtime-feature

This is a meta issue to track all type inference issues occurring inside the PostgreSQL engine. At this stage we can't solve them inside pgTyped without building a more powerful...

It would be nice to move runtime query dependencies into a separate package. Currently `@pgtyped/query` has both runtime and compile time logic in it.

Mapping: - `interval --> {hours: 1, minutes: 2, seconds: 3}` - `string --> '01:02:03'` - `pg-string --> '3 seconds 2 minutes 1 hours'` - `iso-string --> 'P0Y0M0DT1H2M3S'` Solves #89

runtime-feature

Allow type map overrides for individual queries using an annotated SQL directive `@map`: ```sql /* @name FindBookById @map serial bigint */ SELECT * FROM books WHERE id = :bookId; ```

pgTyped should emit type info accessible by queries at runtime This should unblock custom parser creation

runtime-feature

Interface and union types `resolveType` resolution was broken. `GraphQLInterfaceType`, `GraphQLUnionType` were missing the `resolveType` after `joinMonsterAdapt`. This happened because `resolveType` field should be set at `type` level and not in...

In our project we do thousands of `printer.Print` calls per second, so its performance is critical for us. As it is, `printer.Print` is rather slow, see issue #674 for some...

This PR introduces a new `shutdownDuration` configuration variable which allows the proxy to shutdown gracefully. After receiving a termination signal, proxy will keep serving traffic for `shutdownDuration` but will start...

docs
go
tests