-
Couldn't load subscription status.
- Fork 20
Autogen models in flow #144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of comments, but looks good so far!
Looking into the pipeline issue, it looks like some of the generated models spit out any, which Biome doesn't like. We can either configure the generator to output unknown instead, or add an exception to Biome. I'm looking into option 1, but if it isn't simple we can do option 2.
78a7a30 to
81f451e
Compare
Co-authored-by: Matt Nemitz <[email protected]>
Co-authored-by: Matt Nemitz <[email protected]>
Co-authored-by: Matt Nemitz <[email protected]>
5eb5228 to
9126144
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still a couple type issues to solve I think. Best way to be sure is to run pnpm i -r in the project root to make sure everything builds as expected
| { | ||
| "name": "@speechmatics/flow-client-react", | ||
| "version": "0.2.1", | ||
| "version": "1.0.0-rc.6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "version": "1.0.0-rc.6", | |
| "version": "1.0.0, |
packages/flow-client/package.json
Outdated
| { | ||
| "name": "@speechmatics/flow-client", | ||
| "version": "0.2.2", | ||
| "version": "1.0.0-rc.6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "version": "1.0.0-rc.6", | |
| "version": "1.0.0", |
packages/flow-client/models/Info.ts
Outdated
| @@ -0,0 +1,6 @@ | |||
| interface Info { | |||
| reason: string; | |||
| message: string; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this string will still break the discriminator right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last thing!
Co-authored-by: Matt Nemitz <[email protected]>
Autogen models in flow