typhon-project / typhonql

Typhon Query Language
Eclipse Public License 2.0
4 stars 1 forks source link

[BUG] Cannot execute query referring to UUID #76

Closed zolotas4 closed 4 years ago

zolotas4 commented 4 years ago

Describe the bug

I cannot execute a select query using REST in which I have the UUID as a filter. I cannot test using Eclipse IDE as there in general I cannot execute any select query (see issue #75 ).

Query

from CreditCard cc select cc.number where cc.@id == #eafdb82d-31b0-4d77-9f74-b5471c070452

Model

ML: here DL: here

Expected behavior

Get back the number of the CreditCard entity (which has the specific UUID).

REST API

If the bug happens when calling the REST API:

Additional context

I get this message back from my REST client (Insomnia):

{
  "timestamp": "2020-04-04T08:25:10.018+0000",
  "status": 500,
  "error": "Internal Server Error",
  "message": "500 Server Error",
  "path": "/api/query"
}
tvdstorm commented 4 years ago

Hi @zolotas4 , I'm assuming this now works, so I'm closing the issue.

zolotas4 commented 4 years ago

Hi @tvdstorm, yes it does.