Git Product home page Git Product logo

feathers-cassandra's People

Contributors

asplogic avatar dekelev avatar dependabot[bot] avatar greenkeeper[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

feathers-cassandra's Issues

Moving into feathers-ecosystem organization

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?

An in-range update of coveralls is breaking the build 🚨


☝️ 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


The devDependency coveralls was updated from 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.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).
  • βœ… coverage/coveralls: First build on greenkeeper/coveralls-3.0.12 at 96.676% (Details).

Commits

The new version differs by 3 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

HowTo: declare composite partition key

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)
)

cassanknex doesn't exist on FeathersCassandra

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>'.

An in-range update of dtslint is breaking the build 🚨


☝️ 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


The devDependency dtslint was updated from 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.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).
  • βœ… coverage/coveralls: First build on greenkeeper/dtslint-3.4.2 at 96.676% (Details).

Commits

The new version differs by 1 commits.

  • c5ba5d3 3.4.1 - allow v0.xx packages in one more place

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @feathersjs/express is breaking the build 🚨


☝️ 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


The devDependency @feathersjs/express was updated from 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.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).
  • βœ… coverage/coveralls: First build on greenkeeper/@feathersjs/express-4.5.3 at 96.676% (Details).

Release Notes for v4.5.3

4.5.3 (2020-04-17)

Bug Fixes

  • authentication: Remove entity from connection information on logout (#1889) (b062753)
  • authentication-oauth: Allow req.feathers to be used in oAuth authentication requests (#1886) (854c9ca)
  • errors: Add 410 Gone to errors (#1849) (6801428)
  • typescript: Add type keys to service pagination options. (#1888) (859c601)
  • typescript: Use stricter type for HookContext 'method' prop (#1896) (24a41b7)
Commits

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

FAQ and help

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 BadRequest syntax error

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

Default Field Attribute Doesn't Work

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?

An in-range update of @feathersjs/errors is breaking the build 🚨


☝️ 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


The dependency @feathersjs/errors was updated from 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.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).
  • βœ… coverage/coveralls: First build on greenkeeper/@feathersjs/errors-4.5.3 at 96.676% (Details).

Release Notes for v4.5.3

4.5.3 (2020-04-17)

Bug Fixes

  • authentication: Remove entity from connection information on logout (#1889) (b062753)
  • authentication-oauth: Allow req.feathers to be used in oAuth authentication requests (#1886) (854c9ca)
  • errors: Add 410 Gone to errors (#1849) (6801428)
  • typescript: Add type keys to service pagination options. (#1888) (859c601)
  • typescript: Use stricter type for HookContext 'method' prop (#1896) (24a41b7)
Commits

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

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @feathersjs/feathers is breaking the build 🚨


☝️ 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


The devDependency @feathersjs/feathers was updated from 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.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v4.5.3

4.5.3 (2020-04-17)

Bug Fixes

  • authentication: Remove entity from connection information on logout (#1889) (b062753)
  • authentication-oauth: Allow req.feathers to be used in oAuth authentication requests (#1886) (854c9ca)
  • errors: Add 410 Gone to errors (#1849) (6801428)
  • typescript: Add type keys to service pagination options. (#1888) (859c601)
  • typescript: Use stricter type for HookContext 'method' prop (#1896) (24a41b7)
Commits

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

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Batch ops not supported?

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'

An in-range update of @feathersjs/adapter-commons is breaking the build 🚨

The dependency @feathersjs/adapter-commons was updated from 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.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v4.5.2

4.5.2 (2020-03-04)

Bug Fixes

  • Updated typings for express middleware (#1839) (6b8e897)
  • authentication: Improve JWT strategy configuration error message (#1844) (2c771db)
  • package: update grant-profile to version 0.0.11 (#1841) (5dcd2aa)
  • test: typo in password (#1797) (dfba6ec)
  • typescript: Make HookMap and HookObject generics. (#1815) (d10145d)
Commits

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

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.