graphql-engine/server/src-lib/Hasura/Server
Vladimir Ciobanu 91710bba58 server: use relative paths in TH splices
While debugging issues with HLS, Reed Mullanix noticed that we don't use relative paths. This leads to problems when using HLS + Emacs due to a bug in `lsp-mode` which prevents it from finding the correct project root.

However, it is still a good practice to use relative paths in TH for other reasons, including being able to import these modules in GHCI.

This PR should make it so HLS-1.0 & emacs provide type inference, imports, etc., in all modules in our codebase.

GitOrigin-RevId: 5f53b9a7ccf46df1ea7be94ff0a5c6ec861f4ead
2021-03-16 17:36:39 +00:00
..
API server: generalize integration tests 2021-03-11 18:18:41 +00:00
Auth [Preview] Inherited roles for postgres read queries 2021-03-08 11:15:10 +00:00
Init [Preview] Inherited roles for postgres read queries 2021-03-08 11:15:10 +00:00
Migrate server: use relative paths in TH splices 2021-03-16 17:36:39 +00:00
Telemetry server: simplify JSON instances 2021-01-19 19:15:42 +00:00
App.hs server: generalized LogQueryLog (fix #708) 2021-03-13 14:41:44 +00:00
Auth.hs [Preview] Inherited roles for postgres read queries 2021-03-08 11:15:10 +00:00
CheckUpdates.hs server: simplify JSON instances 2021-01-19 19:15:42 +00:00
Compression.hs server: move Hasura.SQL to Hasura.Backends.Postgres (#6053) 2020-10-27 13:53:49 +00:00
Cors.hs server: simplify JSON instances 2021-01-19 19:15:42 +00:00
Init.hs server: use relative paths in TH splices 2021-03-16 17:36:39 +00:00
Logging.hs server: simplify JSON instances 2021-01-19 19:15:42 +00:00
Middleware.hs Migrate to GHC 8.10, upgrade dependencies. Closes #4517 2020-05-13 19:13:02 -04:00
Migrate.hs server: use relative paths in TH splices 2021-03-16 17:36:39 +00:00
Rest.hs server: generalized LogQueryLog (fix #708) 2021-03-13 14:41:44 +00:00
SchemaUpdate.hs Optimistic Metadata Locking 2021-02-19 02:40:23 +00:00
Telemetry.hs server: add MSSQL support 2021-02-23 17:38:36 +00:00
Types.hs server: fix the FromJSON instance of ExperimentalFeature 2021-03-16 11:49:00 +00:00
Utils.hs server: add MSSQL support 2021-02-23 17:38:36 +00:00
Version.hs server: use relative paths in TH splices 2021-03-16 17:36:39 +00:00