Skip to content

Relationships stopped working #2256

@MeerKatDev

Description

@MeerKatDev
  • Laravel-mongodb Version: 3.8.3
  • PHP Version: 7.4.19
  • Database Driver & Version: mongodb/mongodb 1.8.0

Description:

relationships, like belongsTo and hasMany, stopped working overnight

Steps to reproduce

No idea tbh, cannot find the culprit.

Expected behaviour

The relationships should give the related entities.

Actual behaviour

The model is very simple. 4 attributes in $fillable and the hasMany relation, everything very standard. They're just small models that are used for static data.

I tried to remove changes done that could influence the model (I added some fields in $fillable), but it didn't help the situation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions