Valinor/tests/Unit/Mapper
Romain Canon d3b1dcb64e feat!: refactor tree node API
The class `\CuyZ\Valinor\Mapper\Tree\Node` has been refactored to remove
access to unwanted methods that were not supposed to be part of the
public API. Below are a list of all changes:

- New methods `$node->sourceFilled()` and `$node->sourceValue()` allow
  accessing the source value.

- The method `$node->value()` has been renamed to `$node->mappedValue()`
  and will throw an exception if the node is not value.

- The method `$node->type()` now returns a string.

- The methods `$message->name()`, `$message->path()`, `$message->type()`
  and `$message->value()` have been deprecated in favor of the new
  method `$message->node()`.

- The message parameter `{original_value}` has been deprecated in favor
  of `{source_value}`.
2022-07-10 19:28:36 +02:00
..
Object feat!: filter userland exceptions to hide potential sensible data 2022-07-08 13:58:48 +02:00
Source feat: improve mapping error messages 2022-05-21 16:30:24 +02:00
Tree feat!: refactor tree node API 2022-07-10 19:28:36 +02:00
MappingErrorTest.php feat!: refactor tree node API 2022-07-10 19:28:36 +02:00
TreeMapperContainerTest.php feat!: allow mapping to any type 2022-01-02 00:48:01 +01:00