Skip to content

Warn user about unsupported pull-syntax inside posh queries #29

@theronic

Description

@theronic

Could Posh please warn the user when they try to pull inside a p/q posh query?

I lost two days trying to figure out why my ClojureScript threw Assert failed: (db? db) when posh does not support the pull syntax inside posh queries. It says so in the README - I've read it before. I knew this information, but I forgot. It was especially hard to debug from a React Native app where the error for using a pull query inside q looks like this:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions