graphql-engine/server/src-lib/Hasura/Backends
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
..
BigQuery server: naming conventions for auto generated fields 2022-05-26 11:55:29 +00:00
DataConnector Fix a /= [] and add hint. 2022-05-27 12:28:24 +00:00
MSSQL Fix a /= [] and add hint. 2022-05-27 12:28:24 +00:00
MySQL server: naming conventions for auto generated fields 2022-05-26 11:55:29 +00:00
Postgres Fix a /= [] and add hint. 2022-05-27 12:28:24 +00:00