Giacomo Trezzi

Results 20 comments of Giacomo Trezzi

this [medium article](https://medium.com/@danielbuechele/file-uploads-with-graphql-and-apollo-5502bbf3941e) could be helpful

Thank you for your suggestion I'll try that asap. I guess that's the best solution for the present but since sending blobs over websockets is possible ([stackoverflow.com](https://stackoverflow.com/a/11440510/217169)) I tought we...

to use this options: - I created a `vsftpd.conf` file with the content taken from the [repo](https://github.com/delfer/docker-alpine-ftp-server/blob/master/vsftpd.conf) - uncommented `chroot_local_user=YES` and added `allow_writeable_chroot=YES` just below it - set `root:root` as...

This could fix my issue. I believe Scopes are more flexible and more future-proof.

Thank you fro your response. I use it to model a hierarchical user group structure groups ```parent group -child group -granchild group -child group ``` then I have things associated...

I've set up a [PHPSandbox](https://phpsandbox.io/e/x/lrasx?layout=EditorPreview&defaultPath=%2F&theme=dark&showExplorer=yes&openedFiles= ) I would like a deep relation from User to Machine, please have a look at `app\Models\User.php`, `web.php`, `welcome.blade.php` and `DatabaseSeeder.php`

Ideally I would like to support [all](https://github.com/lazychaser/laravel-nestedset#retrieving-nodes) relations, if you show me how to support a "custom" relation I'll send a PR for the others.

It's perfect! I've updated the [phpsandbox]( https://phpsandbox.io/e/x/lrasx?layout=EditorPreview&defaultPath=%2F&theme=dark&showExplorer=yes&openedFiles= ) (I've also installed debugbar) and everything works like a charm

I've noticed a bug: if you try `dd($user->extended_hierarchies;)` this error is returned ``` SQLSTATE[HY000]: General error: 1 ambiguous column name: hu._lft (SQL: select "hierarchies" as "hu.*", "hierarchy_user"."user_id" as "laravel_through_key" from...

it's the one you posted https://github.com/staudenmeir/eloquent-has-many-deep/issues/152#issuecomment-1035534848