feathersjs-ecosystem / feathers-cassandra Goto Github PK
View Code? Open in Web Editor NEWFeathers service adapter for Cassandra DB based on Express-Cassandra ORM and CassanKnex query builder
License: MIT License
Feathers service adapter for Cassandra DB based on Express-Cassandra ORM and CassanKnex query builder
License: MIT License
Hi @daffl, I've been using this project in production for over a year now and it proves to be very helpful.
I've synced most of the updates that you've added to feathers-objection, including the TypeScript definition file.
Can we move this repo into the feathers-ecosystem organization?
βοΈ Important announcement: Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
3.0.11
to 3.0.12
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
coveralls is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
In a model, how can we declare the below composite primary key?
CREATE TABLE groups (
groupname text,
username text,
email text,
age int,
hash_prefix int,
PRIMARY KEY ((groupname, hash_prefix), username)
)
Relatively simple error, cassanknex
is defined on the imported feathers-cassandra
module. Just looking at the index.d.ts file, cassanknex just needs to be added to the CassandraServiceOptions
interface.
Property 'cassanknex' does not exist on type '<T>(config?: Partial<CassandraServiceOptions> | undefined) => Service<T>'.
βοΈ Important announcement: Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
3.4.1
to 3.4.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
dtslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 1 commits.
c5ba5d3
3.4.1 - allow v0.xx packages in one more place
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
index.d.ts
is missing from the files I have in node_modules
- is that intended? I see it's in the repo.
βοΈ Important announcement: Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
4.5.2
to 4.5.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@feathersjs/express is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 22 commits.
251ba63
chore(release): publish v4.5.3
7e2ce6a
chore(package): Update package-lock.json
44c183c
chore(dependencies): Update all dependencies (#1910)
16b391c
chore(package): Remove @feathersjs/adapters-commons and @feathersjs/adapter-tests (#1909)
2c8d423
chore(tests): Fix test type
090bb34
Revert "fix: Improve Service typings for DB Common API (#1838)"
5a87bd0
fix: Improve Service typings for DB Common API (#1838)
95eb447
docs: Fix simple typo, serivce -> service (#1901)
24a41b7
fix(typescript): Use stricter type for HookContext 'method' prop (#1896)
4da8a0f
chore(dependencies): Update dependencies and fix GitHub action for automating it (#1898)
b062753
fix(authentication): Remove entity from connection information on logout (#1889)
859c601
fix(typescript): Add type keys to service pagination options. (#1888)
6801428
fix(errors): Add 410 Gone to errors (#1849)
854c9ca
fix(authentication-oauth): Allow req.feathers to be used in oAuth authentication requests (#1886)
4127834
chore(dependencies): Use weekly GitHub action for dependency updates (#1877)
There are 22 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
patch fails with the below error
error: BadRequest: line 1:49 : syntax error...
at new BadRequest (/xxx/api/node_modules/@feathersjs/errors/lib/index.js:86:17)
at errorHandler (/xxx/api/node_modules/feathers-cassandra/lib/error-handler.js:39:25)
at process._tickCallback (internal/process/next_tick.js:68:7)
On checking, the _patch(id, data, params) function seems to receive id as null instead of the primary key (same issue even with composite primary key)
data { id: 3, text: 'howdy' }
id null
If I manually set context.id with the id in a before hook then patch works. Should we add id manually in a hook or should feathers-cassandra adapter generate id from context.data, please clarify
Hi,
I've been trying to generate an auto id in a schema model by using the built in default function as below.
id: { type: 'uuid', default: {'$db_function': 'uuid()'} },
For some reason it's like it completely ignores the default attribute. It doesn't seem to be executed even if i return plain text or try generating a timestamp.
Any ideas?
βοΈ Important announcement: Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
4.5.2
to 4.5.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@feathersjs/errors is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 22 commits.
251ba63
chore(release): publish v4.5.3
7e2ce6a
chore(package): Update package-lock.json
44c183c
chore(dependencies): Update all dependencies (#1910)
16b391c
chore(package): Remove @feathersjs/adapters-commons and @feathersjs/adapter-tests (#1909)
2c8d423
chore(tests): Fix test type
090bb34
Revert "fix: Improve Service typings for DB Common API (#1838)"
5a87bd0
fix: Improve Service typings for DB Common API (#1838)
95eb447
docs: Fix simple typo, serivce -> service (#1901)
24a41b7
fix(typescript): Use stricter type for HookContext 'method' prop (#1896)
4da8a0f
chore(dependencies): Update dependencies and fix GitHub action for automating it (#1898)
b062753
fix(authentication): Remove entity from connection information on logout (#1889)
859c601
fix(typescript): Add type keys to service pagination options. (#1888)
6801428
fix(errors): Add 410 Gone to errors (#1849)
854c9ca
fix(authentication-oauth): Allow req.feathers to be used in oAuth authentication requests (#1886)
4127834
chore(dependencies): Use weekly GitHub action for dependency updates (#1877)
There are 22 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
βοΈ Important announcement: Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
4.5.2
to 4.5.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@feathersjs/feathers is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 22 commits.
251ba63
chore(release): publish v4.5.3
7e2ce6a
chore(package): Update package-lock.json
44c183c
chore(dependencies): Update all dependencies (#1910)
16b391c
chore(package): Remove @feathersjs/adapters-commons and @feathersjs/adapter-tests (#1909)
2c8d423
chore(tests): Fix test type
090bb34
Revert "fix: Improve Service typings for DB Common API (#1838)"
5a87bd0
fix: Improve Service typings for DB Common API (#1838)
95eb447
docs: Fix simple typo, serivce -> service (#1901)
24a41b7
fix(typescript): Use stricter type for HookContext 'method' prop (#1896)
4da8a0f
chore(dependencies): Update dependencies and fix GitHub action for automating it (#1898)
b062753
fix(authentication): Remove entity from connection information on logout (#1889)
859c601
fix(typescript): Add type keys to service pagination options. (#1888)
6801428
fix(errors): Add 410 Gone to errors (#1849)
854c9ca
fix(authentication-oauth): Allow req.feathers to be used in oAuth authentication requests (#1886)
4127834
chore(dependencies): Use weekly GitHub action for dependency updates (#1877)
There are 22 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Can anyone please confirm this do not support batch ops of express-cassandra models.doBatch.
While creating with array of 1000 items, getting the below error, seems insert ops are not batched but executed in parallel via promise.all .
name: 'BusyConnectionError',
info:
'Represents a client-side error indicating that all connections to a certain host have reached the maximum amount of in-flight requests supported (pooling.maxRequestsPerConnection)',
message:
'All connections to host 127.0.0.1:9042 are busy, 2048 requests are in-flight on a single connection'
4.5.1
to 4.5.2
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@feathersjs/adapter-commons is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 14 commits.
9d5871e
chore(release): publish v4.5.2
6b8e897
fix: Updated typings for express middleware (#1839)
2b30813
chore(package): update @types/uuid to version 7.0.0
5dcd2aa
fix(package): update grant-profile to version 0.0.11 (#1841)
2c771db
fix(authentication): Improve JWT strategy configuration error message (#1844)
ecdd0c9
chore(tests): Skip unreliable Puppeteer browser tests
27860a1
chore(ci): Add LTS node version to test and run on pull requests (#1826)
4e0cce1
chore: Update all dependencies and add type pointer (#1829)
d10145d
fix(typescript): Make HookMap and HookObject generics. (#1815)
892c9a3
chore(package): Update dependencies to enable Greenkeeper π΄ (#1804)
6547d2c
chore(test): Set up GitHub action for CI (#1803)
3b8f5a6
chore(tests): Add NodeJS GitHub action
dfba6ec
fix(test): typo in password (#1797)
05b6965
chore: Update version and changelog
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.