Skip to content

never ending cycle, while querying #4564

Open
@fssrepository

Description

@fssrepository
  1. it's causing never ending cycle on 3.1.5 - spring boot:

@query("{profile.$id: :profileId}")
Optional findUserByProfile(@param("profileId") UUID profileId);

commenting out the query works:

//@query("{profile.$id: :profileId}")
Optional findUserByProfile(@param("profileId") UUID profileId);

Not sure, why it's behaving in this way, but it shouldn't blow up any server!

It should override the normal behaviour as default, shouldn't be fiddling with the binding, and call itself 1M times, should throw exception!

  1. the follwing syntax also was working before:
[
    {
        "$match": {
            "$elemMatch": {
                "profiles.$id": {
                    "$in": [
                        ":#{#profileIds}"
                    ]
                }
            }
        }
    }
]

Now, it's neither accepting profiles.$id nor does return back anything

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions