Skip to content

Conversation

@mattwells-coex
Copy link
Contributor

  • Applied Macroable and Conditionable traits to:
    • Request
    • Response
    • TestResponse
  • Verified support via new tests for:
    • Custom macro methods (->foo())
    • when() and unless() conditional method chaining

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

- Applied `Macroable` and `Conditionable` traits to:
  - `Request`
  - `Response`
  - `TestResponse`
- Verified support via new tests for:
  - Custom macro methods (`->foo()`)
  - `when()` and `unless()` conditional method chaining
- Added trait tests for prompt, resource, and tool responses in:
  - `TestResponseTraitsTest` for Prompts, Resources, Tools
  - `RequestTest` and `ResponseTest` unit coverage
@mattwells-coex mattwells-coex force-pushed the macroable-conditionable branch from 0ce34da to c4ee098 Compare October 7, 2025 09:19
@mattwells-coex mattwells-coex changed the title Add Macroable and Conditionable traits to core classes Add Macroable and Conditionable traits to some core classes Oct 7, 2025
@mattwells-coex mattwells-coex marked this pull request as ready for review October 7, 2025 09:24
@taylorotwell
Copy link
Member

You don't need these tests. It's testing things that are already tested by the framework.

@taylorotwell taylorotwell marked this pull request as draft October 7, 2025 13:55
@mattwells-coex mattwells-coex marked this pull request as ready for review October 7, 2025 14:17
@taylorotwell taylorotwell merged commit 4e1389e into laravel:main Oct 7, 2025
17 checks passed
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