graphql-engine/server/src-lib/Hasura/GraphQL/Parser/Internal
Antoine Leblanc 07fd7324c3 server: enable StrictData by default (fix hasura/graphql-engine#3941)
## Description

Almost all our data structures use strictness annotations, following [our styleguide's principle](https://github.com/hasura/graphql-engine/blob/master/server/STYLE.md#dealing-with-laziness) of "by default, use strict data types and lazy functions". The very few cases where we actually need laziness were already explicitly labelled as lazy with the `~` prefix operator.

This PR simply globally enables `StrictData`, allowing us to express records without `!()` on every field, but makes no attempt at cleaning existing code.

https://github.com/hasura/graphql-engine-mono/pull/1869

Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: e65c6e2f89413188da250122f64c2173615946ec
2021-09-16 12:23:15 +00:00
..
Convert.hs Remote schema execution logic 2021-08-06 13:40:37 +00:00
Input.hs server: enable StrictData by default (fix hasura/graphql-engine#3941) 2021-09-16 12:23:15 +00:00
Parser.hs server: enable StrictData by default (fix hasura/graphql-engine#3941) 2021-09-16 12:23:15 +00:00
Scalars.hs server: introduce new custom scalars and remove offsetParser 2021-06-10 16:14:21 +00:00
TypeChecking.hs server: remove remnants of query plan caching (fix #1795) 2021-07-27 11:52:43 +00:00
Types.hs server: enable StrictData by default (fix hasura/graphql-engine#3941) 2021-09-16 12:23:15 +00:00