Skip to content

GROQ Fix equality between non-literals #333

Open
@saiichihashimoto

Description

Anything that resolves to non-literal number==number ends up returning true, where it should return boolean. I think it should go:

  • If they're both literals, return true or false based on if they're equal
  • If one of them is non-literal but they're the same type, return boolean
  • If they're different types, return false
  • Return the inverse for !=

Metadata

Assignees

No one assigned

    Labels

    help wantedPlease help me! I'm lonely.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions