Skip to content

Create a service connection depending on ENVs#422

Closed
roxblnfk wants to merge 1 commit into
masterfrom
default-connection
Closed

Create a service connection depending on ENVs#422
roxblnfk wants to merge 1 commit into
masterfrom
default-connection

Conversation

@roxblnfk

Copy link
Copy Markdown
Collaborator

What was changed

Added ServiceClient::createDefaultConnection() method that creates a new connection with settings from environment variables.

Checklist

  1. Closes Expose defaultConnection() method to switch between localhost and cloud based on env #420
  2. Tests
  3. Docs
  4. Sync with RoadRunner

@vercel

vercel Bot commented Apr 16, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
php ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 10, 2024 7:32pm

@roxblnfk roxblnfk requested review from Sushisource and wolfy-j April 16, 2024 17:54
@roxblnfk

Copy link
Copy Markdown
Collaborator Author

@Sushisource could you validate this approach?

@roxblnfk roxblnfk marked this pull request as ready for review April 23, 2024 07:46
@roxblnfk roxblnfk marked this pull request as draft October 8, 2024 05:48
@roxblnfk

Copy link
Copy Markdown
Collaborator Author

@roxblnfk roxblnfk closed this Oct 7, 2025
@roxblnfk roxblnfk reopened this Oct 21, 2025
@roxblnfk

Copy link
Copy Markdown
Collaborator Author

Close in favor #661

@roxblnfk roxblnfk closed this Oct 29, 2025
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.

Expose defaultConnection() method to switch between localhost and cloud based on env

2 participants