graphql-engine/server/src-lib/Hasura/Backends/MySQL/Instances
Antoine Leblanc c5face545c Clean some instances
This PR:
- removes a dependency on Postgres' `ToSQL` in other backends
- removes some usage of `unsafePerformIO` in `FronJSON` / `Arbitrary`
- fixes a `Set` into a `HashSet`
- moves some orphan instances where they belong:
  - alongside others in `Hasura.Incremental` for `Cacheable`
  - in `Hasura.Base.Instances` for `Hashable`
- introduces a local wrapper around ByteString to avoid unsound UTF8 instances

Some of the weird empty lines come from the fact that this PR is an offshoot of #1947.

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

GitOrigin-RevId: ef9d34452946f8466878d8fdda857b0b43816de7
2021-07-30 15:43:32 +00:00
..
API.hs mysql: Metadata awareness 2021-07-15 12:45:51 +00:00
Execute.hs mysql: Metadata awareness 2021-07-15 12:45:51 +00:00
Metadata.hs mysql: Metadata awareness 2021-07-15 12:45:51 +00:00
Schema.hs server: remove remnants of query plan caching (fix #1795) 2021-07-27 11:52:43 +00:00
Transport.hs mysql: Metadata awareness 2021-07-15 12:45:51 +00:00
Types.hs Clean some instances 2021-07-30 15:43:32 +00:00