Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Upgrade to Grakn 1.7 #91

Merged
merged 7 commits into from
May 6, 2020

Conversation

adammitchelldev
Copy link
Contributor

@adammitchelldev adammitchelldev commented Apr 30, 2020

What is the goal of this PR?

To upgrade client-nodejs to support Grakn 1.7+, which has a new GRPC protocol, new iteration protocol. This PR is only covering the necessary upgrades to support the new protocol, it does not include the new general local/remote concept pattern.

What are the changes implemented in this PR?

  • New batch-streaming iteration protocol (with async receiving).
  • A few small fixes to expected behaviours that have changed in Grakn (such as patterns and explanations).

@adammitchelldev adammitchelldev added this to the 1.7.0 milestone May 1, 2020
@adammitchelldev adammitchelldev requested a review from vmax May 4, 2020 16:56
@adammitchelldev adammitchelldev marked this pull request as ready for review May 4, 2020 16:57
Copy link
Member

@haikalpribadi haikalpribadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, @adammitchelldev ! 👍

ps: I've only reviewed the overall structure of the code, but can't assess the correctness from "Node.js" know-hows.

}

this.collect = async () => {
async collect() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks nicer like this!

@adammitchelldev adammitchelldev merged commit 4308ccc into typedb:master May 6, 2020
dmitrii-ubskii pushed a commit to dmitrii-ubskii/typedb-client-nodejs that referenced this pull request Sep 1, 2023
## What is the goal of this PR?

When we updated the concept API, we broke using type parameters to cast `asAttribute()` to a particular data type e.g. `concept.<String>asAttribute()`.

## What are the changes implemented in this PR?

Added back the ability to use type parameters in `asAttribute()`
dmitrii-ubskii pushed a commit to dmitrii-ubskii/typedb-client-nodejs that referenced this pull request Sep 1, 2023
## What is the goal of this PR?

Some of our users reported issues on external dependencies being too strict.

## What are the changes implemented in this PR?

Relax dependencies such that any versions of `grpc` (as long as major is less that `2`) and `enum-compat` could be used
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants