Skip to content

Conversation

@wscourge
Copy link
Contributor

No description provided.

@wscourge wscourge force-pushed the wiktor/ome-418-add-validation_type-support-to-invoices-line-items-and branch from 97eb95f to 82f2258 Compare December 30, 2025 13:46
@wscourge wscourge requested a review from Copilot December 30, 2025 13:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the retrieve method to accept query parameters for filtering API requests. The changes enable passing optional query parameters to retrieve operations, allowing callers to request additional data or filter results.

Key Changes:

  • Modified GetTrait::retrieve() and GetTrait::get() to accept an optional array $query parameter
  • Added new getWithQuery() method call when query parameters are provided
  • Added comprehensive test coverage for various query parameter scenarios

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/Service/GetTrait.php Updated retrieve/get methods to accept and handle optional query parameters
tests/Unit/InvoiceTest.php Added tests for Invoice retrieval with validation_type and other query parameters
tests/Unit/DataSourceTest.php Added tests for DataSource retrieval with processing status and other settings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wscourge wscourge force-pushed the wiktor/ome-418-add-validation_type-support-to-invoices-line-items-and branch from e4e0185 to c56fcfd Compare December 31, 2025 09:41
@wscourge wscourge requested a review from swember December 31, 2025 11:53
@wscourge wscourge merged commit ffe189e into main Jan 6, 2026
6 checks passed
@wscourge wscourge deleted the wiktor/ome-418-add-validation_type-support-to-invoices-line-items-and branch January 6, 2026 12:14
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