Skip to content
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

Port to v2 #389

Merged
merged 5 commits into from
Sep 23, 2024
Merged

Port to v2 #389

merged 5 commits into from
Sep 23, 2024

Conversation

srikrsna-buf
Copy link
Member

Port to v2 of connect and protobuf. User code doesn't change unless using some internal types and functions.

Signed-off-by: Sri Krishna <[email protected]>
Signed-off-by: Sri Krishna <[email protected]>
Signed-off-by: Sri Krishna <[email protected]>
@itsjoeoui
Copy link

Hey @srikrsna-buf , any update on this? Would love to see it merged! 😄 Thanks

@timostamm
Copy link
Member

@itsjoeoui, we want to release connect-es, connect-query-es, and connect-playwright-es with support for v2, and update the documentation where necessary. We plan to release it at the same time to make it easier to upgrade. That's why this PR isn't active right now, but we are actively working on the release 🙂

@itsjoeoui
Copy link

@itsjoeoui, we want to release connect-es, connect-query-es, and connect-playwright-es with support for v2, and update the documentation where necessary. We plan to release it at the same time to make it easier to upgrade. That's why this PR isn't active right now, but we are actively working on the release 🙂

Awesome! Thanks for the update 👍

return create(
methodSig.output,
(
updater as (prev?: MessageShape<O>) => MessageInitShape<O> | undefined
Copy link
Collaborator

Choose a reason for hiding this comment

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

Weird cast, is this even needed?

Copy link
Member

Choose a reason for hiding this comment

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

Yes.

Unsafe argument of type any assigned to a parameter of type MessageInitShape<DescMessage & O> | undefined @typescript-eslint/no-unsafe-argument

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah weird. My IDE didn't have any problems. Good to know.

@timostamm timostamm merged commit b4346cd into connectrpc:v2 Sep 23, 2024
4 of 6 checks passed
@timostamm timostamm mentioned this pull request Oct 9, 2024
@timostamm timostamm mentioned this pull request Nov 19, 2024
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.

4 participants