Wolfgang Walther and Remo
b7dcc63e37
nix: Simplify with_tmp_db
2021-11-24 18:06:56 +01:00
Laurence Isla and GitHub
62243852b6
feat: Improve error message for ambiguous embedding
...
- Adds a relevant hint that includes unambiguous embedding suggestions.
- Joins origin and target into one single embedding key
2021-11-23 22:23:29 -05:00
steve-chavez
1b48531369
remove the db-embed-default-join config
2021-11-23 12:32:51 -05:00
Wolfgang Walther and Wolfgang Walther
1981160536
ci: Use include in stack build matrix
2021-11-21 21:53:24 +01:00
Wolfgang Walther and Wolfgang Walther
f3eb8a317d
ci: Disable fail-fast in stack matrix to keep other builds alive on failure
2021-11-21 21:53:24 +01:00
Wolfgang Walther and Wolfgang Walther
7aedebecee
ci: Visually separate jobs in workflow file
2021-11-21 18:40:42 +01:00
Wolfgang Walther and Wolfgang Walther
d5afdc7c53
ci: Use matrix strategy to build with stack
2021-11-21 18:40:42 +01:00
Wolfgang Walther and Wolfgang Walther
b7c261f520
ci: Update actions
2021-11-21 18:40:42 +01:00
Wolfgang Walther and Wolfgang Walther
942391c508
ci: Add .github scripts to shellcheck
2021-11-21 18:40:42 +01:00
Wolfgang Walther and Wolfgang Walther
f333305491
ci: Add setup-nix action to reuse nix-related code
2021-11-21 18:40:42 +01:00
Wolfgang Walther and Wolfgang Walther
88283801cb
ci: Limit release job permissions to minimum required
2021-11-21 18:40:42 +01:00
Laurence Isla and GitHub
4e07846c5d
fix: Add tests for embedding on overloaded functions with a default param
...
Resolves #1672
Was actually fixed in #1841 / 67c2ed7 , this just adds the tests to confirm it.
2021-11-19 09:00:16 +01:00
steve-chavez
bf58a3600a
refactor: remove pgFmtLit
2021-11-18 17:01:58 -05:00
steve-chavez
bae5afbad6
feat: allow unknown on the is operator
...
Also make the IS values strict at the Parser level since IS cannot be
parametrized.
2021-11-18 17:01:58 -05:00
Laurence Isla and GitHub
91689e28f0
Remove partitions from the schema cache
...
breaking: Embedding, OpenApi and other features related to the schema cache are no longer allowed on partitions.
2021-11-18 14:12:14 -05:00
Wolfgang Walther and Remo
041f73cae8
nix(feat): Add actionlint to postgrest-lint
2021-11-17 18:58:34 +01:00
monacoremo
43c8bde8ce
refactor: Add doctests
2021-11-13 04:07:46 +01:00
monacoremo
82dd1b732d
ci: disable cirrusci stack work cache which seems to create issues
2021-11-12 20:25:22 +01:00
monacoremo
41ac0d5d93
refactor: Remove Protolude.Conv from Middleware
2021-11-12 20:25:22 +01:00
monacoremo
60db026dcc
refactor: Remove Protolude.Conv from RangeQuery
2021-11-12 20:25:22 +01:00
monacoremo
47b6f04a66
refactor: Remove Protolude.Conv from AppState
2021-11-12 20:25:22 +01:00
monacoremo
f228cccbae
refactor: Remove Protolude.Conv from Proxy
2021-11-12 20:25:22 +01:00
monacoremo
3820590649
refactor: Remove Protolude.Conv from SqlFragment
2021-11-12 20:25:22 +01:00
monacoremo
8cc8531e49
refactor: Remove Protolude.Conv from Workers
2021-11-12 20:25:22 +01:00
monacoremo
65062364c4
refactor: Remove Protolude.Conv from Error
2021-11-12 20:25:22 +01:00
monacoremo
ebe66cb985
refactor: Remove Protolude.Conv from Statements
2021-11-12 20:25:22 +01:00
monacoremo
9c172db534
refactor: Remove Protolude.Conv from CLI
2021-11-12 20:25:22 +01:00
monacoremo
de531b6b41
refactor: Remove Protolude.Conv from OpenAPIw
2021-11-12 20:25:22 +01:00
monacoremo
71cb8afc0d
refactor: Remove Protolude.Conv from JSPath
2021-11-12 20:25:22 +01:00
monacoremo
36dbd09459
refactor: Remove Protolude.Conv from ApiRequest
2021-11-12 20:25:22 +01:00
monacoremo
fa4df95f55
refactor: Remove Protolude.Conv from Parsers
2021-11-12 20:25:22 +01:00
monacoremo
4104f5fb75
refactor: Remove Protolude.Conv from App
2021-11-12 20:25:22 +01:00
monacoremo
abb6167caa
refactor: Remove Protolude.Conv from DbStructure
2021-11-12 20:25:22 +01:00
monacoremo
15ea7dfe09
refactor: Remove Protolude.Conv from GucHeader
2021-11-12 20:25:22 +01:00
monacoremo
a2c2544271
refactor: Remove Protolude.Conv from Config
2021-11-12 20:25:22 +01:00
monacoremo
2b22f889bd
refactor: Remove GHC.Show instances from JSPath module
2021-11-09 19:13:52 +01:00
monacoremo
cd3013569e
refactor: Remove GHC.Show instances from QualifiedIdentifier and Config
2021-11-09 19:13:52 +01:00
monacoremo
5dc37fc8e8
refactor: Remove GHC.Show instances from Request.Types module
2021-11-09 19:13:52 +01:00
monacoremo
038d84b62d
refactor: Remove GHC.Show instances in Preferences module
2021-11-09 19:13:52 +01:00
Laurence Isla and GitHub
40f9a6068a
Allow overloaded functions if one has a single unnamed JSON param
...
Avoids the breaking change in #1927 : If there's a function "my_func" having a single unnamed json param and other overloaded pairs(with any number of params), PostgREST won't be able to resolve a POST request to "my_func".
2021-11-08 18:26:33 -05:00
monacoremo
5cd7d35966
refactor: Make import aliases consistent across the codebase
2021-11-05 08:08:00 +01:00
monacoremo
71262fbc5c
nix: Hook hsie check-aliases into postgrest-lint
2021-11-05 08:08:00 +01:00
monacoremo
d16a4a9a2b
nix: fix statix hints
2021-11-02 23:10:23 +01:00
monacoremo
2357961f48
nix: add statix to postgrest-style
2021-11-02 23:10:23 +01:00
monacoremo
162c4e38af
Update stackage to LTS 18.14 (GHC 8.10.7)
2021-11-01 23:23:19 +01:00
monacoremo
0f95900822
nix: Upgrade hsie tool to GHC 8.10.7
2021-11-01 23:23:19 +01:00
monacoremo
8ac14447ef
nix: Update nixpkgs to latest unstable version
2021-11-01 23:23:19 +01:00
Wolfgang Walther and Wolfgang Walther
a1b3bca7fc
fix: Make pfkSourceColumns query work with standard_conforming_strings = off
2021-10-28 08:21:11 +02:00
Wolfgang Walther and Wolfgang Walther
8cde90b7fe
refactor: Use include_triggers argument to pg_relation_is_updatable instead of manual check
2021-10-26 19:15:02 +02:00
3b83f536ca
Correct inner join to use proper aliases ( #1978 )
...
"_" was used for all the internal json_agg aliases. Now an alias
with "_" plus a local table name is used.
Co-authored-by: Cole Arendt <cole.arendt@outlook.com >
2021-10-18 17:34:31 -05:00