Ghost/ghost/collections/src
Simon Backx b6519e0f1f
Removed usage of unquoted ids in filter strings (#19070)
fixes GRO-34
fixes GRO-33

This is a revision of a previous commit, that broke the browser tests
because changes in the data generator (requiring bookshelf had side
effects).

This adds a new way to run all tests with enforced numeric ObjectIDs.
These numeric ids cause issues if they are used withing NQL filters. So
they surface tiny bugs in our codebase.

You can run tests using this option via:
NUMERIC_IDS=1 yarn test:e2e

Removed some defensive logic that could be explained by this discovered
issue.
2023-11-21 09:45:36 +01:00
..
events Added CollectionPost events 2023-09-22 18:32:17 +07:00
Collection.ts Forced "latest" Collection Entity to have no posts 2023-09-22 19:05:37 +07:00
CollectionPost.ts Improved type definitions 2023-07-27 16:33:16 +02:00
CollectionRepository.ts Re-enabled general eslint rules in TS config 2023-09-08 13:47:42 +02:00
CollectionsRepositoryInMemory.ts Enabled no-explicit-any for majority of packages 2023-07-27 16:49:08 +02:00
CollectionsService.ts Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
index.ts Added CollectionPost events 2023-09-22 18:32:17 +07:00
libraries.d.ts Optimized the amount of logs produced by collections module 2023-09-01 12:40:54 +08:00
RepositoryUniqueChecker.ts Ensured uniqueness of slug in collections 2023-06-29 01:40:05 +01:00
UniqueChecker.ts Ensured uniqueness of slug in collections 2023-06-29 01:40:05 +01:00