Skip to content

Use config array instead of object for Relais Connection module - #5657

Open
rtloftus wants to merge 5 commits into
vufind-org:devfrom
rtloftus:relais-connection
Open

Use config array instead of object for Relais Connection module#5657
rtloftus wants to merge 5 commits into
vufind-org:devfrom
rtloftus:relais-connection

Conversation

@rtloftus

@rtloftus rtloftus commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@demiankatz demiankatz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, @rtloftus -- see below for one missing piece.

Comment thread module/VuFind/src/VuFind/Connection/Relais.php
@rtloftus
rtloftus requested a review from demiankatz September 10, 2026 14:20

@demiankatz demiankatz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, @rtloftus -- see below for a couple of finishing touches.

Comment thread module/VuFind/src/VuFind/Connection/RelaisFactory.php Outdated
public function placeRequest($oclc, $auth, $patron = null)
{
$uri = $this->config->addurl ?? null;
$uri = $this->config['addurl'] ?? null;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Take a look at line 173 below -- I think there's one last object-style reference that still needs to be converted.

@demiankatz demiankatz added this to the 12.0 milestone Sep 10, 2026
@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Sep 10, 2026
rtloftus and others added 2 commits September 10, 2026 14:30
@rtloftus
rtloftus requested a review from demiankatz September 10, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture pull requests that involve significant refactoring / architectural changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants