Skip to content

jsonGroupArray emits redundant check for primaryKey not null if specified in filter argument #109

@seanwoodward

Description

@seanwoodward

Description

If a filter argument is supplied checking the primary key is not nil, the jsonGroupArray function will emit a redundant check.

Checklist

  • I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior

Only one check for primary key is not null should be emitted in the SQL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions