Alessio Gravili
608d6d0a87
fix(db-postgres): hasMany relationship query contains operator ( #4212 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2024-04-05 13:59:00 -04:00
Paul
44599cbc7b
fix(db-postgres): issue querying by localised relationship not respecting locale as constraint ( #5666 )
...
* fix: add table join for querying on a localised field in relationship fields
* chore: add int tests in relationships
2024-04-04 16:07:11 -03:00
Dan Ribbens
3ceb6efd32
fix: regression of filterOptions using different transaction ( #5169 )
2024-03-25 11:13:49 -04:00
Dan Ribbens
5f3d0169be
fix: filterOptions errors cause transaction to abort ( #5079 )
...
* fix: filterOptions errors cause transaction to abort
* fix(db-mongodb): uncaught abortTransaction race condition
* chore: remove test that is not adding value
* chore: limit options on errors in filterOptions
* chore: limit options when an error occurs in filterOptions
2024-02-16 13:33:40 -05:00
Elliot DeNolf
a0a58e7fd2
fix: query relationships by explicit id field ( #5022 )
2024-02-07 14:18:13 -05:00
Dan Ribbens
b40e9f85a2
chore: use transactions in tests running mongoDB memory server ( #4750 )
...
* chore: use transactions in tests running mongoDB memory server
* chore: relationship test async setup changes
* chore: async test fix
* chore: flaky e2e localization test
2024-01-23 19:18:55 -05:00
Jesse Sivonen
8ce15c8b07
fix(db-postgres): query unset relation ( #4862 )
2024-01-19 13:35:58 -05:00
Patrik
d0f7677d5f
fix: prioritizes value key when filtering / querying for relationships ( #4727 )
...
* fix: object equality query by prioritizing value key in relationship queries
* chore: adds e2e & int test
* chore: updates test for REST querying on poly relationships
2024-01-11 15:56:07 -05:00
Jarrod Flesch
fe888b5f6c
fix: query validation on relationship fields ( #4353 )
2023-12-01 16:03:58 -05:00
Dan Ribbens
6ea29094ba
fix(db-postgres): incorrect pagination totalDocs ( #4248 )
...
Co-authored-by: Alessio Gravili <alessio@bonfireleads.com >
2023-11-22 16:14:14 -05:00
Take Weiland
acad2888cd
fix: fixes creation of related documents within a transaction if filterOptions is used ( #4087 )
2023-11-10 10:37:58 -05:00
James
5d9384f530
fix : #3513 , hasMany relationships unable to be cleared
2023-10-09 13:46:41 -04:00
James
7b94fb75bb
chore: shortens collection names in relationship test suite
2023-10-09 00:22:59 -04:00
James
f3415bb13e
chore: ensures relationships can be cleared
2023-09-22 14:11:18 -04:00
Alessio Gravili
cdaa0acd61
chore: run eslint & prettier, adjust perfectionist sorting for package.json and tsconfig.json in eslint configs
2023-09-19 11:41:56 +02:00
Dan Ribbens
b8f831fd05
test: fix imports
2023-09-15 17:01:43 -04:00
James
0f3b364e46
chore: hoists tests out of payload package
2023-09-01 14:45:41 -04:00
Alessio Gravili
a67278b29f
chore: move to monorepo structure
2023-08-23 12:20:30 +02:00
Alessio Gravili
9467074fb9
chore: update 2.0 branch from master ( #3207 )
...
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
Co-authored-by: Alessio Gravili <alessio@gravili.de >
Co-authored-by: PatrikKozak <patrik@trbl.design >
Co-authored-by: Lucas Blancas <lablancas@gmail.com >
Co-authored-by: Stef Gootzen <37367280+stefgootzen@users.noreply.github.com >
Co-authored-by: Jarrod Flesch <30633324+JarrodMFlesch@users.noreply.github.com >
Co-authored-by: Jessica Chowdhury <67977755+JessChowdhury@users.noreply.github.com >
Co-authored-by: PatrikKozak <35232443+PatrikKozak@users.noreply.github.com >
Co-authored-by: Greg Willard <Wickett06@gmail.com >
Co-authored-by: James Mikrut <james@payloadcms.com >
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
fix: WhereBuilder component does not accept all valid Where queries (#3087 )
fix: passes in height to resizeOptions upload option to allow height resize (#3171 )
2023-08-22 16:04:50 -04:00
James
3a5851d28a
chore: passing tests
2023-07-31 18:12:09 -04:00
James
20179ba77b
chore: merge master
2023-07-29 11:18:39 -04:00
Jarrod Flesch
641c765fb9
feat: solidifies bundler adapter pattern ( #3044 )
2023-07-21 17:20:51 -04:00
Dan Ribbens
8a681450d1
feat: add database transaction support( #2983 )
2023-07-21 14:13:18 -04:00
Dan Ribbens
682f8ecae4
wip merge master
2023-06-29 13:27:33 -04:00
Jacob Fletcher
120e2936fe
chore: removes cms text from instances of payload name ( #2793 )
2023-06-14 10:31:29 -04:00
Jarrod Flesch
d365ba5303
chore: fixes test
2023-05-08 12:24:24 -04:00
Jarrod Flesch
31c0ab7ab7
chore: strengthens int test
2023-05-08 12:22:08 -04:00
Jarrod Flesch
09974fa686
fix: ensures nested querying works when querying across collections
2023-05-08 12:20:06 -04:00
Alessio Gravili
15442a9cc7
fix: use correct locale when querying relationships for list view ( #2438 )
...
* chore: use correct locale when querying relationship for list view
* chore: make sure the relationships are re-queried when the locale changes
* chore: cleans up localization test ts-types
---------
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-04-17 12:43:33 -04:00
James
ac54b11f9d
fix : #2150 , can now query on N number of levels deep
2023-02-27 16:17:44 -05:00
Dan Ribbens
2ee4c7ad72
fix: update removing an upload with null ( #1076 )
2022-09-06 16:19:59 -04:00
Dan Ribbens
44b0073834
fix: update removing a relationship with null ( #1056 )
2022-09-02 15:21:09 -04:00
Dan Ribbens
d727fc8e24
feat: validate relationship and upload ids ( #1004 )
...
* feat: validate relationship and upload ids
* chore: update fields-relationship test data
* fix: skip FE relationship and upload id validation
2022-08-29 14:57:06 -04:00
Dan Ribbens
9813216ea9
test: add circular relationship to tests ( #835 )
2022-07-27 11:16:05 -04:00
Elliot DeNolf
d176633804
test: increase custom id randomization window ( #829 )
2022-07-26 10:35:46 -04:00
Elliot DeNolf
60c0f0fb08
chore: organize relationship custom id tests
2022-07-20 15:04:57 -07:00
Elliot DeNolf
abfb1868ab
test: custom id number relation test
2022-07-18 10:08:01 -07:00
Elliot DeNolf
d2be893a5a
test: port relationships spec
2022-07-18 09:55:59 -07:00