Skip to content

Online playground doesn't catch extra by(x) args for $sort #490

@gregsdennis

Description

@gregsdennis
Template:
  $sort: [{a: 2}, {a: 1, b: []}, {a: 3}]
  by(per_Mi5t): 'per_Mi5t.a'
  by(x): 'x.b'

I would expect this to give either an "additional keys" error or a "object doesn't contain 'b'" error.

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