laravel / precognition

Anticipate the outcome of a future HTTP request.
https://laravel.com/docs/precognition
MIT License
132 stars 32 forks source link

Add dot notation accessor to data object #80

Closed anned20 closed 3 months ago

anned20 commented 3 months ago

Because lodashes get and set are used and the errors in the response for nested fields are based on dot notation, the selectors for these fields can also be in dot notation. This pull request adds support for that notation to the Data interface.

driesvints commented 3 months ago

This seems to break the test suite.