kurier
kurier copied to clipboard
TypeScript framework to create JSON:API compliant APIs
So JSON-API apparently left the world to it's own devices when it came up with the concept of "filters" without defining any idea of what the structure for these should...
I'm working on a new JSON-API application on top of ElasticSearch. So far I've got it to the point where it's able to properly query and return results from the...
Bumps [express](https://github.com/expressjs/express) from 4.18.1 to 4.19.2. Release notes Sourced from express's releases. 4.19.2 What's Changed Improved fix for open redirect allow list bypass Full Changelog: https://github.com/expressjs/express/compare/4.19.1...4.19.2 4.19.1 What's Changed Fix...
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1. Commits 3b0994a 2.0.1 32f468f lib: fixed CVE-2023-42282 and added unit test See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any...
 I believe that this could be done in a couple of ways: - Through the support of **n-depth** nested resources, and nested resources operations: So if I have an...
> I'm using version: `[email protected]`. When I use `GET /tenants`, I get ```json { "errors": [ { "status": 404, "code": "resource_not_found", "detail": "Resource tenant is not registered in the API...
We decided to launch to V1 without this feature, but the plan is to someday add support for resource links, and related resource links. On a first glance, we have...
Due to knex/knex#2682, `add` operations in MySQL require an `id` to be passed, otherwise Kurier won't return the resource ID on the result of the operation. https://github.com/kurierjs/kurier/blob/28c25e3435a9a841d8fd234c9e3a9ba632fecdb6/src/processors/knex-processor.ts#L163 This `insert` +...
Right now, the `login` callback is very lean and simple, receiving two arguments: ```ts type LoginCallbackSignature = (op: Operation, user: ResourceAttributes) => boolean; ``` It is possible that more data...
The following request causes Kurier to fail: ```js // PATCH /comments/2/relationships/parentComment HTTP/1.1 // Content-Type: application/vnd.api+json // Accept: application/vnd.api+json { "data": null } ``` Due to `data` being `null`. The `update`...