Abdullah Bakhach

Results 33 comments of Abdullah Bakhach

Thanks @Celant for the repo. The [commit](https://github.com/Celant/laravel-bug-reproduction/commit/764b7a4114f35e55d19278cb218cf4575fc6bef1) says that it's the bare minimum to repro the issue. Does the bug happen even without using [snowflake](https://github.com/kra8/laravel-snowflake)? Because now I'm wondering if...

Excellent! Now we can debug with a clear conscience 😂

@Celant You mentioned something that made me curious: > This has worked fine so far, and if I do a WhateverModel::all() I get a collection returned, and the primary key...

@Celant I confirmed that this behavior also existed in laravel 8. I created a [repo](https://github.com/abbood/laravel-8-test) with minor irrelevant changes to make sure it works on laravel 8, and the unit...

@Celant the fact is that the two ways of retrieving the TestModel are very different. In the first case you created it on the fly then read it from memory:...

@mrtimp your repro involves a lot of manual work in AWS. I don't think many would do that in their spare time. You seem to have a very good idea...

Hey @gepopp can you please create a laravel repo that demos your problem? I would be glad to dig in if you do

@gepopp I'm curious, does this work? ``` Contact::withoutGlobalScopes() ->without([ 'company', 'timetracks', 'customer_page' ]) ->where('id', $customer) ->first() ->toJson(); ```

@gepopp I created this repo that reproduces your problem: https://github.com/abbood/laravel-sandbox/commit/b24b604fa1c1699815dfda4deb88961e8ebb8e2d This is the data I have: ``` select * from contacts; id | created_at | updated_at | first_name | last_name...