Extends shipmentRepository class

Hi, I tried to extend ShipmentRepository class, but I failed to achieve it,this is my config:

"Error: There is no extension able to load the configuration for ‘sylius_shipment’ "

sylius_shipment:
    resources:
    shipment:
      classes:
        model: AppBundle\Component\Core\Model\Shipment
        repository: AppBundle\Repository\ShipmentRepository

Do you know what is the correct way to extend ShipmentRepository class?

Thanks,

Hi, you should to change sylius_shipment to sylius_shipping and increase indentation for shipment node and its descendants, because I see shipment and resources are on the same indentation level

Thanks @Dr.X , it worked.