- Issue created by @dmouse
- First commit to issue fork.
- Merge request !243395881-Implement the whereInstanceOf method for Collection class → (Open) created by tguerineau
- 🇦🇷Argentina tguerineau
Hi,
I've been working on the issue described here and have made progress in implementing the feature. Below is a brief overview of the changes and updates made:
1. Implementation Details:
whereInstanceOf
method added in thesrc/Collection.php
file.2. Manual testing that I made (using Devel module):
- Conducted tests with collections of nodes, ensuring that the method works as expected, particularly for fields within nodes.
- Verified the functionality with non-entity items to ensure broad applicability.
- Tests included various scenarios, including fields with simple values and more complex structures like paragraphs.
- All tests indicate that the method behaves correctly.
3. Automated Tests: Unfortunately, I am currently facing issues with my test environment, which has prevented me from creating automated tests for these changes.
4. Merge Request: I have created a Merge Request (MR) with the code for the implemented method.
Thank you for considering these updates, and I look forward to your feedback.