Skip to content

Conversation

@TudorCRL
Copy link
Contributor

Autogen models in flow

Copy link
Contributor

@mnemitz mnemitz left a 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.

@TudorCRL TudorCRL force-pushed the feature/autogen-for-flow branch 2 times, most recently from 78a7a30 to 81f451e Compare June 20, 2025 13:18
@TudorCRL TudorCRL force-pushed the feature/autogen-for-flow branch from 5eb5228 to 9126144 Compare June 27, 2025 09:56
Copy link
Contributor

@mnemitz mnemitz left a 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",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"version": "1.0.0-rc.6",
"version": "1.0.0,

{
"name": "@speechmatics/flow-client",
"version": "0.2.2",
"version": "1.0.0-rc.6",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"version": "1.0.0-rc.6",
"version": "1.0.0",

@@ -0,0 +1,6 @@
interface Info {
reason: string;
message: string;
Copy link
Contributor

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?

Copy link
Contributor

@mnemitz mnemitz left a comment

Choose a reason for hiding this comment

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

Last thing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants