Closed vincentcourtois closed 6 years ago
Each method of the seeder should be chainable to ease the syntax and make it more modular. There should be a method to declare not only the service or instance, but the linked routes.
The end syntax should be :
application = Arkaan::Utils::MicroService.new('sessions', File.dirname(__FILE__)) .with_routes([ {verb: 'post', path: '/'}, {verb: 'get', path: '/:id'}, ]) .load!
Each method of the seeder should be chainable to ease the syntax and make it more modular. There should be a method to declare not only the service or instance, but the linked routes.
The end syntax should be :