Jose Celano

Results 227 issues of Jose Celano

In your controller: https://github.com/tyx/ddd-sample-symfony/blob/master/src/BookingEngine/UI/Controller/BookingController.php#L50 ``` $form->handleRequest($request); if (!$form->isValid()) { throw new HttpException(406, (string) new FormErrorsRepresentation($form->getErrors())); } try { // Send the message $this->bookingService->payBooking($command); ``` You use a service and pass...

- [ ] `common` - [ ] `utils`

Wouldn't it be useful to publish it on https://crates.io/? I would like to write more documentation for the package. For example, for API endpoints like this: ![image](https://user-images.githubusercontent.com/58816/183913267-6467a82c-d608-47c1-a244-95e262d6e6a3.png) If we do...

documentation

BEP 15: https://www.bittorrent.org/beps/bep_0015.html This is what the BEP 15 says about the connection ID: > **UDP connections / spoofing** > In the ideal case, only 2 packets would be necessary....

refactor

```rust pub struct TorrentPeer { pub peer_id: PeerId, pub peer_addr: SocketAddr, #[serde(serialize_with = "ser_instant")] pub updated: std::time::Instant, #[serde(with = "NumberOfBytesDef")] pub uploaded: NumberOfBytes, #[serde(with = "NumberOfBytesDef")] pub downloaded: NumberOfBytes, #[serde(with...

refactor

Request without token: ```s $ curl -i http://127.0.0.1:1212/api/torrents HTTP/1.1 500 Internal Server Error content-type: text/plain; charset=utf-8 content-length: 51 date: Wed, 10 Aug 2022 08:32:46 GMT Unhandled rejection: Err { reason:...

I've added docker configuration. In order to run it with docker you need to execute: ```s ./bin/docker/build.sh && ./bin/docker/run.sh ``` Since I do not know Rust I have followed instructions...

If you try to upload a new torrent with the same name you get a generic error: ![image](https://user-images.githubusercontent.com/58816/176865311-2526d935-72ef-432a-8e1d-3f179fc08c2c.png)

enhancement

I'm trying to reproduce the error in issue #42. I've only created the scaffolding for integration tests so far. If there is no bug I want to use this scaffolding...

It would be nice to have the same round modes than round() PHP function: http://php.net/manual/en/function.round.php

enhancement
help wanted