Skip to content

Better error message for variables without ? #476

Description

@FiV0

Running the query

(tc/q (tc/db conn team-tx-key)
      '{:find [team-eid]
        :where [[team-eid :team/name "Frontend"]]})

returns the error

1. Unhandled xyz.triplox.client.TriploxException
   EDN parse error: error at 1:17: expected one of ".", "/", ['+' |
   'a'..='z' | 'A'..='Z' | '0'..='9' | '*' | '!' | '_' | '?' | '$' |
   '%' | '&' | '=' | '<' | '>' | '-'], expected variable

          TriploxNode.java:  197  xyz.triplox.client.TriploxNode/sendAndCheck
          TriploxNode.java:  181  xyz.triplox.client.TriploxNode/postBinary
          TriploxNode.java:   80  xyz.triplox.client.TriploxNode/ ....

this is not helpful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions