Skip to content

Conversation

@shawnawsu
Copy link
Contributor

This contains the updates that are required by platformsh/legacy-cli#829.

@shawnawsu shawnawsu changed the title Library updates for initialize and template flag handling WIP: Library updates for initialize and template flag handling Aug 5, 2019
@shawnawsu shawnawsu changed the title WIP: Library updates for initialize and template flag handling Library updates for initialize and template flag handling Sep 12, 2019
*/
public function getCatalog()
{
return Catalog::create([], $this->accountsEndpoint . 'setup/catalog', $this->getConnector()->getClient());
Copy link
Collaborator

Choose a reason for hiding this comment

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

Pretty much the same objections as #39 - the catalog isn't a thing that lists items on GET /catalog, lets me GET a consitutuent item in GET/catalog/:id, etc, DELETE/PUT/PATCH to modify, POST to add to the list, etc, it's not a RESTful resource, so reusing the Resource model here is at least a bit awkward.

@shawnawsu shawnawsu closed this Jun 24, 2021
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.

3 participants