Ghost/ghost/collections
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
..
src Removed usage of unquoted ids in filter strings (#19070) 2023-11-21 09:45:36 +01:00
test Added tests to AdminX framework package (#19022) 2023-11-20 11:00:51 +00:00
.eslintrc.js Enabled no-explicit-any for majority of packages 2023-07-27 16:49:08 +02:00
package.json 🐛 Fixed contain/starts/endsWith filters with /, _ or % in them (#19015) 2023-11-16 09:35:20 +00:00
README.md Added a collections package with CRUD logic 2023-05-16 12:21:31 +07:00
tsconfig.json Deduplicated tsconfig.json files 2023-07-12 09:34:00 +02:00

Collections

Manages everything to do with Collections

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests