Skip to content

Conversation

knash94
Copy link
Contributor

@knash94 knash94 commented Oct 15, 2025

What:

  • Bug Fix
  • New Feature

Description:

Just a trivial change, adding the containers method to the ClientContract as it's not immediately obvious that this library supports containers

@iBotPeaches
Copy link
Collaborator

You are right - I wonder how I missed that in https://github.com/openai-php/client/pull/636/files.

I now wonder how I can prevent this in future. Like a test that confirms all client methods are indeed part of the contract.

@knash94 knash94 changed the title Add containers interface to client feat: Add containers interface to client Oct 15, 2025
@iBotPeaches iBotPeaches added this to the v0.18.0 milestone Oct 15, 2025
@iBotPeaches iBotPeaches merged commit fc439d2 into openai-php:main Oct 15, 2025
12 checks passed
@iBotPeaches
Copy link
Collaborator

thanks!

@knash94
Copy link
Contributor Author

knash94 commented Oct 15, 2025

You are right - I wonder how I missed that in https://github.com/openai-php/client/pull/636/files.

I now wonder how I can prevent this in future. Like a test that confirms all client methods are indeed part of the contract.

That's a good idea, I'll try thinking of a way to achieve it without being too convoluted for a test 🤔

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.

2 participants