Skip to content

Conversation

adammitchelldev
Copy link

@adammitchelldev adammitchelldev commented May 11, 2020

What is the goal of this PR?

fix #98

To fix an issue where getting meta types via concept API causes a cast error. The MetaType class should be treated as a Type so that it is compatible with regular type instances. This should prevents calls like subs on the meta type from incorrectly casting their subs to a MetaType.

What are the changes implemented in this PR?

  • MetaTypes are treated like Type for the purposes of casting.

@adammitchelldev adammitchelldev marked this pull request as ready for review May 15, 2020 17:09
@adammitchelldev adammitchelldev added this to the 1.7.3 milestone May 15, 2020
@flyingsilverfin
Copy link
Member

it's a bit awkward that the current impl leads to MetaTypes having to be treated as Types sometimes - shouldn't they just be types?

@adammitchelldev adammitchelldev merged commit 944caf2 into typedb:master May 15, 2020
dmitrii-ubskii pushed a commit that referenced this pull request Aug 25, 2023
## What is the goal of this PR?

To fix a bug that caused queries with more than 50 results to fail. This case was not correctly covered with a regression test and that has now been fixed.

## What are the changes implemented in this PR?

- Added a test for queries with a size larger than 50 in order to trigger results batching.
- Fixed a mismatch between batch options and batch size.
dmitrii-ubskii pushed a commit to dmitrii-ubskii/typedb-driver that referenced this pull request Aug 31, 2023
Update to use tagged protocol for release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect casting exception
2 participants