graphql-engine/server/src-lib/Hasura/GraphQL
Auke Booij b2ad3ee2ee
server: avoid integer overflows (fix #576) (fix #4368) (#4435)
* Update graphql-parser-hs and hence use `Scientific` directly

The new version of graphql-parser-hs returns Scientific and Integer
rather than Double and Int32, respectively.  So we now need to do less
work in graphql-engine, and we can process larger numbers.

In practice, this means that when inserting a bigint, we no longer
need to specify the inserted integer as text.  This is also
represented in the updated tests.

* Generate int overflow error on insert

* Document bigint insertion support in changelog
2020-04-21 15:56:15 +02:00
..
Execute server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Resolve server: support single $ as root json path (#4482) 2020-04-21 13:36:11 +05:30
Schema server: _inc for non-integer numeric types (fix #3573) (#4429) 2020-04-17 11:32:09 +02:00
Transport Fix erroneous error logging in WebSocket.onStop 2020-04-10 12:55:43 +05:30
Validate server: avoid integer overflows (fix #576) (fix #4368) (#4435) 2020-04-21 15:56:15 +02:00
Context.hs allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Execute.hs server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Explain.hs server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Logging.hs refactor some internal components (#3414) 2019-11-26 17:44:21 +05:30
RemoteServer.hs auto-include __typename field in custom types' objects (fix #4063) (#4074) 2020-03-11 17:09:00 +05:30
Resolve.hs server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
Schema.hs allow reusing Postgres scalars in custom types & actions (close #4125) (#4333) 2020-04-15 17:33:13 +05:30
Utils.hs Refactor schema cache construction to avoid imperative updates 2020-01-08 16:43:06 -06:00
Validate.hs Track variable uses within query validation for caching (fix #3097) (#3135) 2019-10-16 09:33:34 -05:00