graphql-engine/server/src-lib/Hasura/Backends/Postgres/DDL
Antoine Leblanc 9308c92e8d Fix a /= [] and add hint.
### Description

Several places in the code used `a /= []`, which is inelegant. To my surprise, hlint did not warn about this, despite the fact that it forces an `Eq` instance on the elements. This PR replaces all occurrences of that pattern with `not (null a)` and adds a lint warning for it.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4569
GitOrigin-RevId: 6471e75ade9e71e5d583a0dac7815c01870c696b
2022-05-27 12:28:24 +00:00
..
Source Yeet some default-extensions 2022-03-16 00:40:17 +00:00
BoolExp.hs server/bigquery: generate graphql schema for table computed fields 2022-05-25 10:25:38 +00:00
ComputedField.hs server/bigquery: generate graphql schema for table computed fields 2022-05-25 10:25:38 +00:00
EventTrigger.hs server: Use quote_ident for quoting table name when using regclass 2022-05-02 13:16:55 +00:00
Function.hs server: naming conventions for auto generated fields 2022-05-26 11:55:29 +00:00
RunSQL.hs Fix a /= [] and add hint. 2022-05-27 12:28:24 +00:00
Source.hs server/bigquery: generate graphql schema for table computed fields 2022-05-25 10:25:38 +00:00
Table.hs Evie/postgres/module docs 2022-02-08 09:25:35 +00:00