mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 09:51:59 +03:00
0c17f238a2
This change is because in https://github.com/hasura/graphql-engine-mono/pull/2477, errors come out as ``` multiple declarations exist for the following allowlist : [CollectionName {unCollectionName = NonEmptyText {unNonEmptyText = "collection_1"}}]' ``` which is awfully messy. This changes it to ``` multiple declarations exist for the following allowlist: collection_1 ``` This should improve error messages across the board -- e.g. `RoleName` has a nice `ToTxt` instance, while we used to use a derived `Show` instances. However, there might just be instances where the `Show` instance was better, bit hard to be sure based on scanning the code since we don't have test coverage for these errors. Broken out of the allowlist PR since it affects more than just the allowlist. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3470 GitOrigin-RevId: 7a2c29f17d9f15d840cb2f89caefcdd3aae44d25 |
||
---|---|---|
.. | ||
DDL | ||
DML | ||
IR | ||
Types | ||
IR.hs | ||
Types.hs |