Skip to content

Conversation

backspace
Copy link
Contributor

@backspace backspace commented Sep 23, 2021

0.17.0-beta.19 introduced breaking changes, this updates to handle that Query.expressions can be RecordQueryExpression | RecordQueryExpression[]. Without it, I was getting query.expressions is not iterable errors. I chose to make the dependency exact instead of ^ because there could be further breaking changes in the 0.17 cycle and I struggled to get resolutions and/or nohoist working to override it for just the project that was consuming this in a monorepo.

This has Typescript failure in sql-source-legacy-test.ts that I commented out; I’m not sure how important it is given the file name, but if you have a suggestion about how it could be fixed, let me know!

Property 'recordInitializer' does not exist on type 'RecordTransformBuilder<string, RecordIdentity, UninitializedRecord>'

Thanks for your work on this (and koa-orbit, which I may need to make a parallel PR for), it’s helped me get started with an Orbit project more easily.

0.17.0-beta.19 introduced breaking changes:
https://github.com/orbitjs/orbit/releases/tag/v0.17.0-beta.19

This has build failure in `sql-source-legacy-test` that I
commented out; I’m not sure how important it is given
the file name.
backspace added a commit to backspace/koa-orbit that referenced this pull request Sep 24, 2021
This is a followup to this PR:
tchak/orbit-sql#8

I needed to use the code from that branch (and with the
not-building test removed).

This seems pretty straightforward; `UnknownSerializer` is
no longer needed because `Serializer` can be used directly:
orbitjs/orbit#837

I chose to rename the two deserialising functions to remove
the QB that was also removed from the imported class names.
@tchak tchak merged commit 2f00285 into tchak:master Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants