Skip to content

Raise a notice for unreachable scope #21

@Speedy37

Description

@Speedy37

Sometime while writing a query scope, a little mistake is made, a notice about it would be nice

Example:

{
  where: { $instanceOf: "Person" }
  scope: {
     Person: { '.': ['_cats'] },
     Cat: { '.': ['_name'] },
  }
}

Cat can't be a root object, thus the scope defined for Cat is unreachable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions