CatchTheTornado / CatchTheTornado/askql

query should fail if given no arguments

Open
#313 0 comments 0 reactions 0 assignees View on GitHub
AskVM bug discussion
Dominant language
TypeScript
Stars
387
Forks
30
PR merge metrics
No merged PRs in 30d

Description

```
ask {
query()
}
```

should throw and as of v1.2 it doesn't

This causes this weird behaviour in playground

Screenshot 2020-07-02 at 13 03 17

Screenshot 2020-07-02 at 13 03 45

Contributor guide

Open the contributing guide

Research direction

Start by locating the query parser or validation entry point and reproduce the shown query() example. Done means a query with no arguments throws an error and a regression test covers that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.