glhd / laravel-addressing

Laravel package providing addressing functionality
MIT License
62 stars 14 forks source link

validatePostalCode does not exist. #6

Closed JulianBustamante closed 3 years ago

JulianBustamante commented 6 years ago

Expected Behavior

The service provider should register and resolve the validators through the method registerValidators().

Actual Behavior

Validators are not registered using the resolving container method because the callback is never called.

Steps to Reproduce the Problem

  1. Install and setup laravel-addressing
  2. I've setup the validators for fields in the request class.

Specifications

I'm using Laravel 5.6

Additional Details

To solve the issue I'm just extending the validators from the container's validator instance without using the resolving method.