dgraph.net
dgraph.net copied to clipboard
Add Process Cloud Address
I added the ProcessAddress method in the Dgraph Cloud Channel to properly handle various address formats. The method now ensures that the address is correctly formatted for Dgraph Cloud by extracting the required components from the input and constructing the expected gRPC address. I also added error handling to ensure that only valid cloud.dgraph.io addresses are processed.
Also, I have created a test suite with various test cases to validate the functionality of the updated method and ensure it works as expected.
This PR has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.