feat: [PubSub] add Google Pub/Sub Schema Revision support#9
Open
mrbiya wants to merge 1 commit into
Open
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
mrbiya
force-pushed
the
add-schema-revisions
branch
from
September 19, 2023 18:42
537a522 to
f921d44
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request addresses a critical gap in the existing functionality of the Google Library in PHP by introducing support for managing schema revisions within Google Pub/Sub. Currently, this feature is missing, and this PR aims to rectify that by providing the ability to retrieve all revisions for a specific schema, as well as the capability to commit and delete these revisions.
Key Changes:
Schema Revision Retrieval: We've added a new method to the Google Library that allows users to retrieve all revisions associated with a particular schema. This enhancement makes it easier to track and manage schema changes over time.
Example Usage:
Commit and Delete Revisions: To provide comprehensive schema management, we've introduced methods for committing and deleting schema revisions. These functions empower users to control their schema history effectively.
Example Usage (Committing a Revision):
Benefits:
Improved Schema Management: Users can now effortlessly access, commit, and delete schema revisions, enhancing the overall schema management experience.
Comprehensive Control: This addition provides a holistic solution for handling schema revisions within Google Pub/Sub, ensuring better version control and traceability.
We believe that this PR will significantly improve the functionality and usability of the Google Library in PHP, making it a more powerful tool for developers working with Google Pub/Sub schemas. Your feedback and review on this PR are highly appreciated.